[Telepathy-commits] [telepathy-gabble/master] Ensure OfferDBusTube yields a RemotePending tube.

Will Thompson will.thompson at collabora.co.uk
Tue Feb 3 03:36:35 PST 2009


---
 tests/twisted/tubes/offer-private-dbus-tube-ibb.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/tubes/offer-private-dbus-tube-ibb.py b/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
index c5744a1..79e381f 100644
--- a/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
+++ b/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
@@ -117,8 +117,7 @@ def test(q, bus, conn, stream):
     assert new_tube_event.args[2] == 0       # DBUS
     assert new_tube_event.args[3] == 'com.example.TestCase'
     assert new_tube_event.args[4] == sample_parameters
-    # FIXME
-    #assert new_tube_event.args[5] == 1       # Remote Pending
+    assert new_tube_event.args[5] == TUBE_STATE_REMOTE_PENDING
 
     # handle offer_return_event
     assert offer_return_event.value[0] == dbus_tube_id
-- 
1.5.6.5




More information about the telepathy-commits mailing list