summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0323.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-04-21 20:10:47 +0200
committermathieui <mathieui@mathieui.net>2015-04-21 20:10:47 +0200
commitb8d7b9520cec828d7b4113e95bbb6e97727a4243 (patch)
treebf814e6f6e58a905d4a829f7932e68524b3bf57c /tests/test_stream_xep_0323.py
parent0305ce66b7123c57e72c23492b2e31695117d9a2 (diff)
downloadslixmpp-b8d7b9520cec828d7b4113e95bbb6e97727a4243.tar.gz
slixmpp-b8d7b9520cec828d7b4113e95bbb6e97727a4243.tar.bz2
slixmpp-b8d7b9520cec828d7b4113e95bbb6e97727a4243.tar.xz
slixmpp-b8d7b9520cec828d7b4113e95bbb6e97727a4243.zip
Fix some disco tests
The targeted JID was a bare JID, which is wrong since the XEP specifies that such disco requests are handled by the server.
Diffstat (limited to 'tests/test_stream_xep_0323.py')
-rw-r--r--tests/test_stream_xep_0323.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_stream_xep_0323.py b/tests/test_stream_xep_0323.py
index 1a25ec2a..f92c4553 100644
--- a/tests/test_stream_xep_0323.py
+++ b/tests/test_stream_xep_0323.py
@@ -582,7 +582,7 @@ class TestStreamSensorData(SlixTest):
self.recv("""
<iq type='get'
from='master@clayster.com/amr'
- to='tester@localhost'
+ to='tester@localhost/resource'
id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
@@ -607,7 +607,7 @@ class TestStreamSensorData(SlixTest):
self.recv("""
<iq type='get'
from='master@clayster.com/amr'
- to='tester@localhost'
+ to='tester@localhost/resource'
id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
@@ -615,7 +615,7 @@ class TestStreamSensorData(SlixTest):
self.send("""
<iq type='result'
- from='tester@localhost'
+ from='tester@localhost/resource'
to='master@clayster.com/amr'
id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'>