diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-10-14 15:53:10 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-10-14 15:53:10 -0700 |
commit | 84683323812a7aecb2f2abc69272d714f69b23bb (patch) | |
tree | 4b8fa0fd18745475186a37060343594aa99025bb /sleekxmpp | |
parent | dc001bb201268c5443c1be2a937d02a0c96ad4bb (diff) | |
download | slixmpp-84683323812a7aecb2f2abc69272d714f69b23bb.tar.gz slixmpp-84683323812a7aecb2f2abc69272d714f69b23bb.tar.bz2 slixmpp-84683323812a7aecb2f2abc69272d714f69b23bb.tar.xz slixmpp-84683323812a7aecb2f2abc69272d714f69b23bb.zip |
fixed stream tests
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/test/sleektest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index 9b822343..fa53bf73 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -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: |