diff options
author | Lance Stout <lancestout@gmail.com> | 2010-11-17 14:33:09 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-11-17 14:33:09 -0500 |
commit | debf90935981622c7b23009b7edeb311fd57ee5c (patch) | |
tree | 6c2ba5c7c82a03830bcb1a1eb9352d1556009f9b /tests/live_test.py | |
parent | 0d4d84b2fa3587c01db0764651105b3cc9cd00f9 (diff) | |
parent | b8114b25ed28437248322aad50209f737faa392c (diff) | |
download | slixmpp-debf90935981622c7b23009b7edeb311fd57ee5c.tar.gz slixmpp-debf90935981622c7b23009b7edeb311fd57ee5c.tar.bz2 slixmpp-debf90935981622c7b23009b7edeb311fd57ee5c.tar.xz slixmpp-debf90935981622c7b23009b7edeb311fd57ee5c.zip |
Merge branch 'develop' into roster
Diffstat (limited to 'tests/live_test.py')
-rw-r--r-- | tests/live_test.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/tests/live_test.py b/tests/live_test.py index 4b4394e9..16b6f1cc 100644 --- a/tests/live_test.py +++ b/tests/live_test.py @@ -1,3 +1,5 @@ +import logging + from sleekxmpp.test import * import sleekxmpp.plugins.xep_0033 as xep_0033 @@ -29,10 +31,6 @@ class TestLiveStream(SleekTest): <mechanism>DIGEST-MD5</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> - <c xmlns="http://jabber.org/protocol/caps" - node="http://www.process-one.net/en/ejabberd/" - ver="TQ2JFyRoSa70h2G1bpgjzuXb2sU=" hash="sha-1" /> - <register xmlns="http://jabber.org/features/iq-register" /> </stream:features> """) self.send_feature(""" @@ -49,11 +47,6 @@ class TestLiveStream(SleekTest): <mechanism>DIGEST-MD5</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> - <c xmlns="http://jabber.org/protocol/caps" - node="http://www.process-one.net/en/ejabberd/" - ver="TQ2JFyRoSa70h2G1bpgjzuXb2sU=" - hash="sha-1" /> - <register xmlns="http://jabber.org/features/iq-register" /> </stream:features> """) self.send_feature(""" @@ -69,11 +62,6 @@ class TestLiveStream(SleekTest): <stream:features> <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /> <session xmlns="urn:ietf:params:xml:ns:xmpp-session" /> - <c xmlns="http://jabber.org/protocol/caps" - node="http://www.process-one.net/en/ejabberd/" - ver="TQ2JFyRoSa70h2G1bpgjzuXb2sU=" - hash="sha-1" /> - <register xmlns="http://jabber.org/features/iq-register" /> </stream:features> """) @@ -99,6 +87,9 @@ class TestLiveStream(SleekTest): suite = unittest.TestLoader().loadTestsFromTestCase(TestLiveStream) if __name__ == '__main__': + logging.basicConfig(level=logging.DEBUG, + format='%(levelname)-8s %(message)s') + tests = unittest.TestSuite([suite]) result = unittest.TextTestRunner(verbosity=2).run(tests) test_ns = 'http://andyet.net/protocol/tests' |