[Telepathy-commits] [telepathy-gabble/master] Expect to receive SOCKS5 as the bytestrean method preferred by the CM
Marco Barisione
marco at barisione.org
Tue Jan 6 08:41:20 PST 2009
---
tests/twisted/tubes/test-si-ibb-tubes.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/tubes/test-si-ibb-tubes.py b/tests/twisted/tubes/test-si-ibb-tubes.py
index 3ef8e6b..43f4532 100644
--- a/tests/twisted/tubes/test-si-ibb-tubes.py
+++ b/tests/twisted/tubes/test-si-ibb-tubes.py
@@ -23,6 +23,7 @@ NS_SI = 'http://jabber.org/protocol/si'
NS_FEATURE_NEG = 'http://jabber.org/protocol/feature-neg'
NS_IBB = 'http://jabber.org/protocol/ibb'
NS_X_DATA = 'jabber:x:data'
+NS_BYTESTREAMS = 'http://jabber.org/protocol/bytestreams'
sample_parameters = dbus.Dictionary({
's': 'hello',
@@ -310,6 +311,8 @@ def test(q, bus, conn, stream):
assert field['var'] == 'stream-method'
assert field['type'] == 'list-single'
value = xpath.queryForNodes('/field/option/value', field)[0]
+ assert str(value) == NS_BYTESTREAMS
+ value = xpath.queryForNodes('/field/option/value', field)[1]
assert str(value) == NS_IBB
tube = xpath.queryForNodes('/si/tube', si)[0]
--
1.5.6.5
More information about the Telepathy-commits
mailing list