[Telepathy-commits] [telepathy-gabble/master] test-capabilities: Add a missing assert on one of the checks

Sjoerd Simons sjoerd at luon.net
Thu Aug 14 10:12:36 PDT 2008


20080814171236-93b9a-452aafb0b47af9a7879f7347dbeba61bbd8b9bbe.gz
---
 tests/twisted/test-capabilities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/test-capabilities.py b/tests/twisted/test-capabilities.py
index 5211d88..ca12c9a 100644
--- a/tests/twisted/test-capabilities.py
+++ b/tests/twisted/test-capabilities.py
@@ -125,7 +125,7 @@ def test(q, bus, conn, stream):
         args=[[(2, sm, 3, 0, 1, 0)]])
 
     # Contact went offline, so caps are now unknown
-    conn.Contacts.GetContactAttributes([2], [icaps], False) == {}
+    assert conn.Contacts.GetContactAttributes([2], [icaps], False) == {}
 
     # regression test for fd.o #15198: getting caps of invalid handle crashed
     try:
-- 
1.5.6.3




More information about the Telepathy-commits mailing list