summaryrefslogtreecommitdiff
path: root/tests/test_stream.py
AgeCommit message (Collapse)Author
2015-02-12Update the test suite.mathieui
- monkey-patch our own monkey-patched idle_call to run events immediatly rather than adding them to the event queue, and add a fake transport with a fake socket. - remove the test file related to xep_0059 as it relies on blocking behavior, and comment out one xep_0030 test uses xep_0059 - remove many instances of threading and sleep()s because they do nothing except waste time and introduce race conditions. - keep exactly two sleep() in IoT xeps because they rely on timeouts
2014-07-17Rename to slixmppFlorent Le Coz
2013-07-26refactor: no import * in testsJean-Philippe Caruana
2011-05-27Added support for testind disconnect errors.Lance Stout
2010-11-05Simplified SleekTest.Lance Stout
* check_stanza does not require stanza_class parameter. Introspection! * check_message, check_iq, and check_presence removed -- use check instead. * stream_send_stanza, stream_send_message, stream_send_iq, and stream_send_presence removed -- use send instead. * Use recv instead of recv_message, recv_presence, etc. * check_jid instead of check_JID * stream_start may accept multi=True to return a new SleekTest instance for testing multiple streams at once.
2010-10-07Unit test reorganization.Lance Stout
Moved SleekTest to sleekxmpp.test. Organized test suites by their focus. - Suites focused on testing stanza objects are named test_stanza_X.py - Suites focused on testing stream behavior are name test_stream_X.py
2010-10-06Updated SleekTest and related tests.Lance Stout
May now use a component for stream testing. Methods provided for testing stream headers.
2010-08-05Updated tests to use a relative import for SleekTest to please Python3.Lance Stout
Fixed some tabs/spaces issues.
2010-07-26Update test to reflect change in reply() method that removes the from attribute.Lance Stout
2010-07-14Updated SleekTest to be able to simulate and test interactions with an XML ↵Lance Stout
stream.