[Telepathy-commits] [telepathy-gabble/master] Use TUBE_TYPE_DBUS constant
Will Thompson
will.thompson at collabora.co.uk
Mon Mar 2 08:13:12 PST 2009
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
tests/twisted/tubes/offer-private-dbus-tube.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/tubes/offer-private-dbus-tube.py b/tests/twisted/tubes/offer-private-dbus-tube.py
index ab01558..7c67527 100644
--- a/tests/twisted/tubes/offer-private-dbus-tube.py
+++ b/tests/twisted/tubes/offer-private-dbus-tube.py
@@ -157,7 +157,7 @@ def offer_old_dbus_tube(q, bus, conn, stream, self_handle, alice_handle, bytestr
# handle new_tube_event
dbus_tube_id = new_tube_event.args[0]
assert new_tube_event.args[1] == self_handle
- assert new_tube_event.args[2] == 0 # DBUS
+ assert new_tube_event.args[2] == cs.TUBE_TYPE_DBUS
assert new_tube_event.args[3] == 'com.example.TestCase'
assert new_tube_event.args[4] == sample_parameters
assert new_tube_event.args[5] == cs.TUBE_STATE_REMOTE_PENDING
--
1.5.6.5
More information about the telepathy-commits
mailing list