diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-02-28 19:44:29 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-04-04 16:56:26 +0200 |
commit | d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6 (patch) | |
tree | 84068ec63760a9302c10072796730bb2fc4a0341 | |
parent | b6b0e82dec7b322a2b690439e663432be2b92e82 (diff) | |
download | slixmpp-d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6.tar.gz slixmpp-d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6.tar.bz2 slixmpp-d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6.tar.xz slixmpp-d5b1904ebb816560a7a0cecf51ac74c6fe9dd6b6.zip |
Use a full JID for testing.
-rw-r--r-- | slixmpp/test/slixtest.py | 4 |
1 files 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'. |