summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0050.py
diff options
context:
space:
mode:
authorJean-Philippe Caruana <jp@barreverte.fr>2013-07-26 13:02:26 +0200
committerJean-Philippe Caruana <jp@barreverte.fr>2013-07-26 13:02:26 +0200
commit18dde97c8cd377bbd2a1c9af816005b4ae473832 (patch)
tree700a4088495100fbd9ddb97bfd724f976b117d9d /tests/test_stream_xep_0050.py
parent85bc6f530178f3b049ea2ae064f168b77aeee332 (diff)
downloadslixmpp-18dde97c8cd377bbd2a1c9af816005b4ae473832.tar.gz
slixmpp-18dde97c8cd377bbd2a1c9af816005b4ae473832.tar.bz2
slixmpp-18dde97c8cd377bbd2a1c9af816005b4ae473832.tar.xz
slixmpp-18dde97c8cd377bbd2a1c9af816005b4ae473832.zip
refactor: no import * in tests
Diffstat (limited to 'tests/test_stream_xep_0050.py')
-rw-r--r--tests/test_stream_xep_0050.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_stream_xep_0050.py b/tests/test_stream_xep_0050.py
index 5ad9d6ae..261a0057 100644
--- a/tests/test_stream_xep_0050.py
+++ b/tests/test_stream_xep_0050.py
@@ -1,8 +1,9 @@
import time
import logging
-import threading
-from sleekxmpp.test import *
+import unittest
+from sleekxmpp.test import SleekTest
+from sleekxmpp.xmlstream import ElementBase, register_stanza_plugin
class TestAdHocCommands(SleekTest):
@@ -35,7 +36,7 @@ class TestAdHocCommands(SleekTest):
logging.debug(initial)
new_payload = TestPayload()
if initial:
- new_payload['bar'] = 'Received: %s' % initial['bar']
+ new_payload['bar'] = 'Received: %s' % initial['bar']
else:
new_payload['bar'] = 'Failed'