[Telepathy-commits] [telepathy-salut/master] test-tube.py: Better assert message

Alban Crequy alban.crequy at collabora.co.uk
Fri Feb 6 03:14:58 PST 2009


---
 tests/twisted/avahi/test-tube.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/avahi/test-tube.py b/tests/twisted/avahi/test-tube.py
index bf43ae0..03954a7 100644
--- a/tests/twisted/avahi/test-tube.py
+++ b/tests/twisted/avahi/test-tube.py
@@ -92,7 +92,7 @@ def check_channel_properties(q, bus, conn, channel, channel_type,
         tube_props = channel.GetAll(
                 'org.freedesktop.Telepathy.Channel.Interface.Tube.DRAFT',
                 dbus_interface='org.freedesktop.DBus.Properties')
-        assert tube_props['Status'] == state
+        assert tube_props['Status'] == state, tube_props['Status']
         # no strict check but at least check the properties exist
         assert tube_props.has_key('Parameters')
         assert tube_props.has_key('Initiator')
-- 
1.5.6.5




More information about the telepathy-commits mailing list