X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=hand_tests%2Fpresence.py;h=0a90e7f01a507722bc3ed57cb3efc467b9da6c51;hb=cf6bbc96c0e4b3bb240c61df09e0e71afdd602a8;hp=533903895ec9423a7c52bcc723b77fe01ab64efa;hpb=af99e138505877d6528005e3576246b88b34de46;p=theonering diff --git a/hand_tests/presence.py b/hand_tests/presence.py index 5339038..0a90e7f 100755 --- a/hand_tests/presence.py +++ b/hand_tests/presence.py @@ -27,7 +27,7 @@ from telepathy.constants import CONNECTION_STATUS_CONNECTED, \ DBUS_PROPERTIES = 'org.freedesktop.DBus.Properties' -class Example (object): +class Example(object): def __init__ (self, account, password, forward): """e.g. account = 'bob@example.com/test' @@ -45,7 +45,7 @@ class Example (object): # Begin Example 2-3 cm[CONNECTION_MANAGER].RequestConnection('sip', { - 'username': account, + 'account': account, 'forward': forward, 'password': password, },