From 0f804411cf1089bba83bccb484e0a19b8c9d5bba Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 17 Sep 2013 16:11:20 +0100 Subject: [PATCH 3/4] simple-caps: stop relying on GetContactCapabilities 0.99.1 doesn't have it. --- tests/twisted/simple-caps.py | 6 +----- 1 file changed, 1 insertion(+), 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) -- 1.8.4.rc3