summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0066.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-07-05 21:30:16 -0700
committerLance Stout <lancestout@gmail.com>2011-07-05 21:30:16 -0700
commitccc6ab128128990babbf63d4586cdd43384ae320 (patch)
tree04804b2720ea9b2138cb549f0f5142c065dadecc /tests/test_stream_xep_0066.py
parent712da4c46e4ef5ee7995c37d8502c12391e23050 (diff)
parentb2d42b1d6cad5c7f77f41c813f1b8f421d9339af (diff)
downloadslixmpp-ccc6ab128128990babbf63d4586cdd43384ae320.tar.gz
slixmpp-ccc6ab128128990babbf63d4586cdd43384ae320.tar.bz2
slixmpp-ccc6ab128128990babbf63d4586cdd43384ae320.tar.xz
slixmpp-ccc6ab128128990babbf63d4586cdd43384ae320.zip
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'tests/test_stream_xep_0066.py')
-rw-r--r--tests/test_stream_xep_0066.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/test_stream_xep_0066.py b/tests/test_stream_xep_0066.py
index 3dbaf840..e3f2ddfa 100644
--- a/tests/test_stream_xep_0066.py
+++ b/tests/test_stream_xep_0066.py
@@ -40,33 +40,5 @@ class TestOOB(SleekTest):
t.join()
- def testReceiveOOB(self):
- """Test receiving an OOB request."""
- self.stream_start(plugins=['xep_0066', 'xep_0030'])
-
- events = []
-
- def receive_oob(iq):
- events.append(iq['oob_transfer']['url'])
-
- self.xmpp.add_event_handler('oob_transfer', receive_oob)
-
- self.recv("""
- <iq to="tester@localhost"
- from="user@example.com"
- type="set" id="1">
- <query xmlns="jabber:iq:oob">
- <url>http://github.com/fritzy/SleekXMPP/blob/master/README</url>
- <desc>SleekXMPP README</desc>
- </query>
- </iq>
- """)
-
- time.sleep(0.1)
-
- self.assertEqual(events,
- ['http://github.com/fritzy/SleekXMPP/blob/master/README'],
- 'URL was not received: %s' % events)
-
suite = unittest.TestLoader().loadTestsFromTestCase(TestOOB)