summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0085.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_stream_xep_0085.py')
-rw-r--r--tests/test_stream_xep_0085.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_stream_xep_0085.py b/tests/test_stream_xep_0085.py
index 54e7e15f..9e3a2dd5 100644
--- a/tests/test_stream_xep_0085.py
+++ b/tests/test_stream_xep_0085.py
@@ -1,10 +1,10 @@
import time
import unittest
-from sleekxmpp.test import SleekTest
+from slixmpp.test import SlixTest
-class TestStreamChatStates(SleekTest):
+class TestStreamChatStates(SlixTest):
def tearDown(self):
self.stream_close()
@@ -49,8 +49,6 @@ class TestStreamChatStates(SleekTest):
</message>
""")
- # Give event queue time to process
- time.sleep(0.3)
expected = ['active', 'inactive', 'paused', 'composing', 'gone']
self.failUnless(results == expected,
"Chat state event not handled: %s" % results)