diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-17 14:19:04 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-17 14:19:04 +0200 |
commit | 5ab77c745270d7d5c016c1dc7ef2a82533a4b16e (patch) | |
tree | 259377cc666f8b9c7954fc4e7b8f7a912bcfe101 /tests/test_stream_handlers.py | |
parent | e5582694c07236e6830c20361840360a1dde37f3 (diff) | |
download | slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.gz slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.bz2 slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.xz slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.zip |
Rename to slixmpp
Diffstat (limited to 'tests/test_stream_handlers.py')
-rw-r--r-- | tests/test_stream_handlers.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_stream_handlers.py b/tests/test_stream_handlers.py index 0208cd16..61cb68a7 100644 --- a/tests/test_stream_handlers.py +++ b/tests/test_stream_handlers.py @@ -2,12 +2,12 @@ import time import threading import unittest -from sleekxmpp.test import SleekTest -from sleekxmpp.exceptions import IqTimeout -from sleekxmpp import Callback, MatchXPath +from slixmpp.test import SlixTest +from slixmpp.exceptions import IqTimeout +from slixmpp import Callback, MatchXPath -class TestHandlers(SleekTest): +class TestHandlers(SlixTest): """ Test using handlers and waiters. """ @@ -239,7 +239,7 @@ class TestHandlers(SleekTest): # Check that Iq was sent by waiter_handler iq = self.Iq() iq['id'] = 'test' - iq['to'] = 'tester@sleekxmpp.com/test' + iq['to'] = 'tester@slixmpp.com/test' iq['type'] = 'set' iq['query'] = 'test' result = iq.send() @@ -249,12 +249,12 @@ class TestHandlers(SleekTest): t.start() self.recv(""" - <iq id="test" from="evil@sleekxmpp.com/bad" type="result"> + <iq id="test" from="evil@slixmpp.com/bad" type="result"> <query xmlns="test" /> </iq> """) self.recv(""" - <iq id="test" from="evil2@sleekxmpp.com" type="result"> + <iq id="test" from="evil2@slixmpp.com" type="result"> <query xmlns="test" /> </iq> """) @@ -266,7 +266,7 @@ class TestHandlers(SleekTest): # Now for a good one self.recv(""" - <iq id="test" from="tester@sleekxmpp.com/test" type="result"> + <iq id="test" from="tester@slixmpp.com/test" type="result"> <query xmlns="test" /> </iq> """) @@ -275,7 +275,7 @@ class TestHandlers(SleekTest): time.sleep(0.1) - self.assertEqual(events, ['tester@sleekxmpp.com/test'], "Did not timeout on bad sender") + self.assertEqual(events, ['tester@slixmpp.com/test'], "Did not timeout on bad sender") |