summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-01-07 13:30:41 +0000
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-01-08 11:43:25 +0000
commit2cba8f33c47389cc5acf126ff455fde2d1aae193 (patch)
tree2172a6b6d09fa291432c2e65309c27d26e984fd4 /tests
parent2c5858e58b8c68eb217311819ba404f58eb5f0e0 (diff)
downloadtelepathy-gabble-2cba8f33c47389cc5acf126ff455fde2d1aae193.tar.gz
Use the right muc namespace for participants
Diffstat (limited to 'tests')
-rw-r--r--tests/twisted/tubes/offer-muc-dbus-tube.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/tubes/offer-muc-dbus-tube.py b/tests/twisted/tubes/offer-muc-dbus-tube.py
index 5d536f908..96a5e2127 100644
--- a/tests/twisted/tubes/offer-muc-dbus-tube.py
+++ b/tests/twisted/tubes/offer-muc-dbus-tube.py
@@ -301,7 +301,7 @@ def test(q, bus, conn, stream, access_control):
def bob_in_tube():
presence = elem('presence', from_='chat2@conf.localhost/bob', to='chat2@conf.localhost')(
- elem('x', xmlns=ns.MUC),
+ elem('x', xmlns=ns.MUC_USER),
elem('tubes', xmlns=ns.TUBES)(
elem('tube', type='dbus', initiator='chat2@conf.localhost/test',
service='com.example.TestCase', id=str(dbus_tube_id))(
@@ -337,7 +337,7 @@ def test(q, bus, conn, stream, access_control):
# Bob leave the tube
presence = elem('presence', from_='chat2@conf.localhost/bob', to='chat2@conf.localhost')(
- elem('x', xmlns=ns.MUC),
+ elem('x', xmlns=ns.MUC_USER),
elem('tubes', xmlns=ns.TUBES))
stream.send(presence)