summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0325.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_0325.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_0325.py')
-rw-r--r--tests/test_stream_xep_0325.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_stream_xep_0325.py b/tests/test_stream_xep_0325.py
index 62c49e6b..d27ee5a7 100644
--- a/tests/test_stream_xep_0325.py
+++ b/tests/test_stream_xep_0325.py
@@ -311,7 +311,7 @@ class TestStreamControl(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>
@@ -336,7 +336,7 @@ class TestStreamControl(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>
@@ -344,7 +344,7 @@ class TestStreamControl(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'>