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/file-transfer/ft-client-caps.py | |
parent | 822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff) | |
download | telepathy-salut-82162a775b73ec8fc6bac7ff2c3efa7592554916.tar.gz |
Port to telepathy-glib-1
Diffstat (limited to 'tests/twisted/avahi/file-transfer/ft-client-caps.py')
-rw-r--r-- | tests/twisted/avahi/file-transfer/ft-client-caps.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/twisted/avahi/file-transfer/ft-client-caps.py b/tests/twisted/avahi/file-transfer/ft-client-caps.py index 3cb6aca3..8d6bb8df 100644 --- a/tests/twisted/avahi/file-transfer/ft-client-caps.py +++ b/tests/twisted/avahi/file-transfer/ft-client-caps.py @@ -131,7 +131,7 @@ def receive_caps(q, bus, conn, service, contact, contact_handle, features, # check the Contacts interface give the same caps caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [contact_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [contact_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [contact_handle][cs.ATTR_CONTACT_CAPABILITIES] assertSameElements(expected_caps, caps_via_contacts_iface) @@ -151,7 +151,7 @@ def test_ft_caps_from_contact(q, bus, conn, service, contact): # Check that we don't crash if we haven't seen any caps/presence for this # contact yet. caps = conn.Contacts.GetContactAttributes( - [contact_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [contact_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [contact_handle] basic_caps = [(text_fixed_properties, text_allowed_properties)] @@ -243,7 +243,7 @@ def advertise_caps(q, bus, conn, service, filters, expected_features, unexpected # check the Contacts interface give the same caps caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [self_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [self_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [self_handle][cs.ATTR_CONTACT_CAPABILITIES] assertSameElements(expected_caps, caps_via_contacts_iface) @@ -276,7 +276,7 @@ def test_ft_caps_to_contact(q, bus, conn, service): # Check our own caps # caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [self_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [self_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [self_handle][cs.ATTR_CONTACT_CAPABILITIES] assertEquals(basic_caps, caps_via_contacts_iface) @@ -288,7 +288,7 @@ def test_ft_caps_to_contact(q, bus, conn, service): # Check our own caps caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [self_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [self_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [self_handle][cs.ATTR_CONTACT_CAPABILITIES] assertEquals(basic_caps, caps_via_contacts_iface) @@ -302,7 +302,7 @@ def test_ft_caps_to_contact(q, bus, conn, service): # Check our own caps caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [self_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [self_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [self_handle][cs.ATTR_CONTACT_CAPABILITIES] assertEquals(basic_caps, caps_via_contacts_iface) @@ -316,7 +316,7 @@ def test_ft_caps_to_contact(q, bus, conn, service): # Check our own caps caps_via_contacts_iface = conn.Contacts.GetContactAttributes( - [self_handle], [cs.CONN_IFACE_CONTACT_CAPS], False) \ + [self_handle], [cs.CONN_IFACE_CONTACT_CAPS]) \ [self_handle][cs.ATTR_CONTACT_CAPABILITIES] assertEquals(basic_caps, caps_via_contacts_iface) |