summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_stream_xep_0030.py4
-rw-r--r--tests/test_stream_xep_0323.py6
-rw-r--r--tests/test_stream_xep_0325.py6
3 files changed, 8 insertions, 8 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>
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'>
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'>