From b8d7b9520cec828d7b4113e95bbb6e97727a4243 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 21 Apr 2015 20:10:47 +0200 Subject: [PATCH] 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. --- tests/test_stream_xep_0030.py | 4 ++-- tests/test_stream_xep_0323.py | 6 +++--- tests/test_stream_xep_0325.py | 6 +++--- 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(""" - + @@ -101,7 +101,7 @@ class TestStreamDisco(SlixTest): self.xmpp['xep_0030'].static.add_node(node='testing') self.recv(""" - + 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(""" @@ -607,7 +607,7 @@ class TestStreamSensorData(SlixTest): self.recv(""" @@ -615,7 +615,7 @@ class TestStreamSensorData(SlixTest): self.send(""" 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(""" @@ -336,7 +336,7 @@ class TestStreamControl(SlixTest): self.recv(""" @@ -344,7 +344,7 @@ class TestStreamControl(SlixTest): self.send("""