summaryrefslogtreecommitdiff
path: root/sleekxmpp/test/sleektest.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-04 22:37:22 -0700
committerLance Stout <lancestout@gmail.com>2011-08-04 22:37:22 -0700
commit47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b (patch)
treebea40ff79dc92dd38c1152905658dde1e84df96b /sleekxmpp/test/sleektest.py
parent93a4a3f8a0f64eed846895365fa3da059bbf5ea1 (diff)
downloadslixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.gz
slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.bz2
slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.xz
slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.zip
Cosmetic PEP8 fixes.
Diffstat (limited to 'sleekxmpp/test/sleektest.py')
-rw-r--r--sleekxmpp/test/sleektest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py
index 7802a9bc..cb5031f7 100644
--- a/sleekxmpp/test/sleektest.py
+++ b/sleekxmpp/test/sleektest.py
@@ -318,9 +318,11 @@ class SleekTest(unittest.TestCase):
self.xmpp.socket.recv_data(header)
elif socket == 'live':
self.xmpp.socket_class = TestLiveSocket
+
def wait_for_session(x):
self.xmpp.socket.clear()
skip_queue.put('started')
+
self.xmpp.add_event_handler('session_start', wait_for_session)
self.xmpp.connect()
else: