[Bug 42306] caps/tube-caps.py's caps assertions don't work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 27 13:15:51 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=42306
--- Comment #1 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2011-10-27 04:15:51 PDT ---
Created attachment 52820
--> https://bugs.freedesktop.org/attachment.cgi?id=52820
half a patch to fix this
Here's a patch but it still fails on:
Traceback (most recent call last):
File "/home/jonny/src/telepathy-gabble/tests/twisted/gabbletest.py", line
634, in exec_test_deferred
fun(queue, bus, conns[0], streams[0])
File "./caps/tube-caps.py", line 366, in test
test_tube_caps_to_contact(q, bus, conn, stream)
File "./caps/tube-caps.py", line 319, in test_tube_caps_to_contact
daap_caps)
File "./caps/tube-caps.py", line 233, in advertise_caps
assertContains(var, namespaces)
File "/home/jonny/src/telepathy-gabble/tests/twisted/servicetest.py", line
578, in assertContains
"expected:\n%s\nin:\n%s" % (pretty(element), pretty(value)))
AssertionError: expected:
'http://telepathy.freedesktop.org/xmpp/tubes/stream#daap'
in:
[u'http://www.google.com/xmpp/protocol/session',
u'urn:xmpp:jingle:transports:raw-udp:1',
u'http://jabber.org/protocol/jingle',
u'urn:xmpp:jingle:1',
u'http://jabber.org/protocol/chatstates',
u'http://jabber.org/protocol/nick',
u'http://jabber.org/protocol/nick+notify',
u'http://jabber.org/protocol/si',
u'http://jabber.org/protocol/ibb',
u'http://telepathy.freedesktop.org/xmpp/tubes',
u'http://jabber.org/protocol/bytestreams',
u'jabber:iq:version',
u'im:telepathy:file-transfer:metadata']
FAIL: caps/tube-caps.py
I don't feel like digging through the tube caps stuff right now though, and I'm
not sure if this is actually a problem in gabble or the test.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list