diff options
author | Jean-Philippe Caruana <jp@barreverte.fr> | 2013-07-26 13:02:26 +0200 |
---|---|---|
committer | Jean-Philippe Caruana <jp@barreverte.fr> | 2013-07-26 13:02:26 +0200 |
commit | 18dde97c8cd377bbd2a1c9af816005b4ae473832 (patch) | |
tree | 700a4088495100fbd9ddb97bfd724f976b117d9d /tests/test_stream_xep_0050.py | |
parent | 85bc6f530178f3b049ea2ae064f168b77aeee332 (diff) | |
download | slixmpp-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.py | 7 |
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' |