summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0050.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-07-29 02:24:33 -0700
committerLance Stout <lancestout@gmail.com>2013-07-29 02:24:33 -0700
commitd439c4f21515813b69f8e39d430cee8ca9a3c946 (patch)
treee8a4970b42759c9fcebe01a18a56bddaf0d88214 /tests/test_stream_xep_0050.py
parent85bc6f530178f3b049ea2ae064f168b77aeee332 (diff)
parenta9f2e1482ca65a919a7a9f0c44af7f9f51907887 (diff)
downloadslixmpp-d439c4f21515813b69f8e39d430cee8ca9a3c946.tar.gz
slixmpp-d439c4f21515813b69f8e39d430cee8ca9a3c946.tar.bz2
slixmpp-d439c4f21515813b69f8e39d430cee8ca9a3c946.tar.xz
slixmpp-d439c4f21515813b69f8e39d430cee8ca9a3c946.zip
Merge pull request #252 from jpcaruana/develop
refactor : optimize imports + replace mutable argument (a list) in StateMachine constructor
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'