diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-17 16:11:20 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-23 16:12:04 +0100 |
commit | 4eeb0fe866aed281fa36f94bafdbccf1c828968b (patch) | |
tree | 0b033527a2b2ddbb0fb9d296e1837a2af818f0f2 | |
parent | 57f23a80ecf77829a74525205036d61fd59e5904 (diff) | |
download | telepathy-haze-4eeb0fe866aed281fa36f94bafdbccf1c828968b.tar.gz |
simple-caps: stop relying on GetContactCapabilities
0.99.1 doesn't have it.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
-rw-r--r-- | tests/twisted/simple-caps.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/twisted/simple-caps.py b/tests/twisted/simple-caps.py index 862a2de..d580c82 100644 --- a/tests/twisted/simple-caps.py +++ b/tests/twisted/simple-caps.py @@ -18,12 +18,8 @@ def check_text_only(rccs): cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT }, [cs.TARGET_HANDLE])], rccs) -# assert GetContactCaps and GetContactAttributes returns just text caps +# assert just text caps def check_rccs(conn, handle): - rccs = conn.ContactCapabilities.GetContactCapabilities([handle]) - assertEquals(1, len(rccs)) - check_text_only(rccs[handle]) - attrs = conn.Contacts.GetContactAttributes([handle], [cs.CONN_IFACE_CONTACT_CAPS], False) |