slixmpp/tests
Lance Stout 5f2fc67c40 Added option for iq.send to accept a callhandler.
The callback will be a stream level handler, and will not
execute in its own thread. If you must have a thread, have the
callback function raise a custom event, which can be processed
by another event handler, which may run in an individual thread,
like so:

def handle_reply(self, iq):
    self.event('custom_event', iq)

def do_long_operation_in_thread(self, iq):
    ...

self.add_event_handler('custom_event', self.do_long_operation_in_thread)

...take out already prepared iq stanza...
iq.send(callback=self.handle_reply)
2010-12-07 17:19:39 -05:00
..
__init__.py Corrected test errors. 2010-10-07 19:42:28 -04:00
live_multiple_streams.py Fixed some live stream test errors. 2010-11-17 15:45:16 -05:00
live_test.py Fixed some live stream test errors. 2010-11-17 15:45:16 -05:00
test_events.py Unit test reorganization. 2010-10-07 10:58:13 -04:00
test_jid.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_base.py Unit test reorganization. 2010-10-07 10:58:13 -04:00
test_stanza_element.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_error.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_gmail.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_iq.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_message.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_presence.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_roster.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0004.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0030.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0033.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0060.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0085.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stream.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stream_exceptions.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stream_handlers.py Added option for iq.send to accept a callhandler. 2010-12-07 17:19:39 -05:00
test_stream_presence.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stream_roster.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stream_xep_0030.py Adding stream tests for XEP-0030. 2010-11-18 15:50:45 -05:00
test_tostring.py Fixed mixed text and elements bug in tostring. 2010-10-21 16:21:28 -04:00