diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-09-20 17:19:43 -0400 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-15 15:42:31 -0400 |
commit | 82162a775b73ec8fc6bac7ff2c3efa7592554916 (patch) | |
tree | e0a8852722e3976b8b99743bc227cc2889ceca03 /tests/twisted/avahi/set-presence.py | |
parent | 822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff) | |
download | telepathy-salut-82162a775b73ec8fc6bac7ff2c3efa7592554916.tar.gz |
Port to telepathy-glib-1
Diffstat (limited to 'tests/twisted/avahi/set-presence.py')
-rw-r--r-- | tests/twisted/avahi/set-presence.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/avahi/set-presence.py b/tests/twisted/avahi/set-presence.py index 82343c4b..b6f38f1e 100644 --- a/tests/twisted/avahi/set-presence.py +++ b/tests/twisted/avahi/set-presence.py @@ -32,13 +32,13 @@ def test(q, bus, conn): assert status == 'avail', status assert msg is None, msg - statuses = conn.Get(cs.CONN_IFACE_SIMPLE_PRESENCE, 'Statuses', dbus_interface=dbus.PROPERTIES_IFACE) + statuses = conn.Get(cs.CONN_IFACE_PRESENCE, 'Statuses', dbus_interface=dbus.PROPERTIES_IFACE) assert 'available' in statuses assert 'dnd' in statuses assert 'away' in statuses - simple_presence = dbus.Interface(conn, cs.CONN_IFACE_SIMPLE_PRESENCE) + simple_presence = dbus.Interface(conn, cs.CONN_IFACE_PRESENCE) # set your status to away simple_presence.SetPresence('away', 'At the pub') |