X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=hand_tests%2Fpresence.py;h=0a90e7f01a507722bc3ed57cb3efc467b9da6c51;hp=533903895ec9423a7c52bcc723b77fe01ab64efa;hb=074b7adedaeba92d5993f8015be26c684f8bbfd8;hpb=af99e138505877d6528005e3576246b88b34de46 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, },