summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0030.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_0030.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_0030.py')
-rw-r--r--tests/test_stream_xep_0030.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_stream_xep_0030.py b/tests/test_stream_xep_0030.py
index f85dfaea..de0bd414 100644
--- a/tests/test_stream_xep_0030.py
+++ b/tests/test_stream_xep_0030.py
@@ -75,7 +75,7 @@ class TestStreamDisco(SlixTest):
self.xmpp['xep_0030'].static.add_node(node='testing')
self.recv("""
- <iq to="tester@localhost" type="get" id="test">
+ <iq to="tester@localhost/resource" type="get" id="test">
<query xmlns="http://jabber.org/protocol/disco#info"
node="testing" />
</iq>
@@ -101,7 +101,7 @@ class TestStreamDisco(SlixTest):
self.xmpp['xep_0030'].static.add_node(node='testing')
self.recv("""
- <iq to="tester@localhost" type="get" id="test">
+ <iq to="tester@localhost/resource" type="get" id="test">
<query xmlns="http://jabber.org/protocol/disco#items"
node="testing" />
</iq>