From d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 28 Feb 2015 19:44:29 +0100 Subject: Use a full JID for testing. --- slixmpp/test/slixtest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py index 2173c87c..19ef9ae6 100644 --- a/slixmpp/test/slixtest.py +++ b/slixmpp/test/slixtest.py @@ -293,7 +293,7 @@ class SlixTest(unittest.TestCase): self.xmpp.socket.disconnect_error() def stream_start(self, mode='client', skip=True, header=None, - socket='mock', jid='tester@localhost', + socket='mock', jid='tester@localhost/resource', password='test', server='localhost', port=5222, sasl_mech=None, plugins=None, plugin_config={}): @@ -310,7 +310,7 @@ class SlixTest(unittest.TestCase): should be a dummy, mock socket or a live, functioning socket. Defaults to 'mock'. jid -- The JID to use for the connection. - Defaults to 'tester@localhost'. + Defaults to 'tester@localhost/resource'. password -- The password to use for the connection. Defaults to 'test'. server -- The name of the XMPP server. Defaults to 'localhost'. -- cgit v1.2.3