[telepathy-gabble/master] Use constants

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Dec 24 08:04:47 PST 2009


---
 tests/twisted/jingle/call-basics.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/jingle/call-basics.py b/tests/twisted/jingle/call-basics.py
index 76bd814..4df806e 100644
--- a/tests/twisted/jingle/call-basics.py
+++ b/tests/twisted/jingle/call-basics.py
@@ -327,7 +327,8 @@ def run_test(jp, q, bus, conn, stream, incoming):
         content_properties = content.GetAll (cs.CALL_CONTENT,
             dbus_interface=dbus.PROPERTIES_IFACE)
 
-        assertEquals (0, content_properties["Disposition"])
+        assertEquals (cs.CALL_DISPOSITION_NONE,
+            content_properties["Disposition"])
         assertEquals (self_handle, content_properties["Creator"])
         assertContains ("Webcam", content_properties["Name"])
     except DBusException, e:
-- 
1.5.6.5




More information about the telepathy-commits mailing list