diff options
Diffstat (limited to 'tests/test_stream_xep_0249.py')
-rw-r--r-- | tests/test_stream_xep_0249.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/test_stream_xep_0249.py b/tests/test_stream_xep_0249.py index 8edea270..f12978a8 100644 --- a/tests/test_stream_xep_0249.py +++ b/tests/test_stream_xep_0249.py @@ -1,10 +1,10 @@ import time import unittest -from sleekxmpp.test import SleekTest +from slixmpp.test import SlixTest -class TestStreamDirectInvite(SleekTest): +class TestStreamDirectInvite(SlixTest): """ Test using the XEP-0249 plugin. @@ -35,8 +35,6 @@ class TestStreamDirectInvite(SleekTest): </message> """) - time.sleep(.5) - self.failUnless(events == [True], "Event not raised: %s" % events) @@ -47,13 +45,13 @@ class TestStreamDirectInvite(SleekTest): self.xmpp['xep_0249'].send_invitation('user@example.com', 'sleek@conference.jabber.org', - reason='Need to test Sleek') + reason='Need to test Slixmpp') self.send(""" <message to="user@example.com"> <x xmlns="jabber:x:conference" jid="sleek@conference.jabber.org" - reason="Need to test Sleek" /> + reason="Need to test Slixmpp" /> </message> """) |