mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 11:09:56 +00:00
fixed stream tests
This commit is contained in:
parent
dc001bb201
commit
8468332381
1 changed files with 3 additions and 3 deletions
|
@ -281,9 +281,9 @@ class SleekTest(unittest.TestCase):
|
|||
self.xmpp.set_socket(TestSocket())
|
||||
|
||||
# Simulate connecting for mock sockets.
|
||||
self.xmpp.state.set('reconnect', False)
|
||||
self.xmpp.state.set('is client', True)
|
||||
self.xmpp.state.set('connected', True)
|
||||
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.
|
||||
if not header:
|
||||
|
|
Loading…
Reference in a new issue