Simplify the main process loop.

This commit is contained in:
Lance Stout
2011-08-25 17:08:20 -07:00
parent 802dd8393d
commit e3e985220e
2 changed files with 17 additions and 16 deletions

View File

@@ -336,7 +336,6 @@ class SleekTest(unittest.TestCase):
# Simulate connecting for mock sockets.
self.xmpp.auto_reconnect = False
self.xmpp.is_client = True
self.xmpp.state._set_state('connected')
# Must have the stream header ready for xmpp.process() to work.