summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-06-20Fix test_jid to not use deprecated ways to create JID objects, and add it a ↵Emmanuel Gil Peyrot
few more tests.
2015-04-21Fix some disco testsmathieui
The targeted JID was a bare JID, which is wrong since the XEP specifies that such disco requests are handled by the server.
2015-04-19XEP-0047: use coroutines for send(), sendall() and the new sendfile().Emmanuel Gil Peyrot
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-09-28Remove all deprecated alias in the core of slixmpp, and wherever they were used.Emmanuel Gil Peyrot
2014-09-01Remove all trailing whitespaces.Emmanuel Gil Peyrot
2014-09-01Always use OrderedDict from collections, and remove its implementation in ↵Emmanuel Gil Peyrot
slixmpp.thirdparty.
2014-09-01Remove sys.version_info checks for python2 and clean some imports.Emmanuel Gil Peyrot
2014-07-17Rename to slixmppFlorent Le Coz
2014-02-06Get the IoT plugins to pass tests on Py3sleek-1.2.01.2.0Lance Stout
2014-02-06Add test for wrong sender in IQLance Stout
2013-09-12ElementTree._escape_cdata isn't reliable across Python versions.Lance Stout
It also does not work as desired. Revert "Merge pull request #254 from barreverte/develop" This reverts commit 23750357e21ce1e22445b2e702bdd4efb77f2369, reversing changes made to 07284f380fa0a893a5ef56774fcef71a47851668.
2013-09-12Merge pull request #254 from barreverte/developLance Stout
tostring.escape : optimization
2013-09-05Merge branch 'xep_0323_325' of git://github.com/joachimlindborg/SleekXMPP ↵Lance Stout
into joachimlindborg-xep_0323_325 Conflicts: sleekxmpp/plugins/__init__.py
2013-08-30First implementation of the xep_0323 and xep_325 used in IoT systems. Tests ↵Joachim Lindborg
are added for stanza and streams
2013-07-30tostring.escape : optimizationJean-Philippe Caruana
use of xml.etree.ElementTree._escape_attrib and xml.etree.ElementTree._escape_cdata
2013-07-26refactor: no import * in testsJean-Philippe Caruana
2013-06-29Adjust get_roster to always return, even with invalid JIDsLance Stout
Issue #245
2013-06-19Add test for nodeprep idempotency after explicitly using Unicode 3.2Lance Stout
2013-05-17First test stanzaJoachim Lindborg
2013-03-28Remove `roster_received` eventAnton Ryzhov
2013-03-11Prevent race condition in pubsub test.Lance Stout
2013-02-25Merge branch 'develop'Lance Stout
2013-02-22Don't use internally deprecated methodsAnton Ryzhov
2013-02-14Resolve most Python3.3 related issues.Lance Stout
Tests now run successfully. Occasionally get single error related to duplicated payload data in pubsub items when copying stanza values.
2013-01-26Get tests to pass again.Lance Stout
Re-add old gmail_notify plugin for now.
2013-01-20Update tests for XEP-0092Lance Stout
2012-10-31Relax timing issues in Iq timeout callback test.Lance Stout
2012-10-31Allow IQ timeouts to be asynchronous, by passing a timeout_callback ↵Joe Hildebrand
parameter to send(). An example modification of disco is included. If this approach is approved, I'll go through and update the other plugins.
2012-10-31Turns out not all data is UTF-8, so don't try to decode it.Lance Stout
Fixes issue #204
2012-09-25Fix RSM testsLance Stout
2012-09-24Simplify stringifying XMLLance Stout
2012-07-24Add support for using CDATA for escaping.Lance Stout
CDATA escaping is disabled by default, but may be enabled by setting: self.use_cdata = True Closes issue #114
2012-07-24Fix JID validation bugs, add lots of tests.Lance Stout
2012-07-24Add validation for JIDs.Lance Stout
2012-06-22Resolve xml:lang issue with duplicated elements depending on ordering.Lance Stout
2012-06-19Ordering fixes for Python3.3Lance Stout
2012-06-18Add initial support for xml:lang for streams and stanza plugins.Lance Stout
Remaining items are suitable default actions for language supporting interfaces.
2012-05-05Tidy up and add tests for multi_attrib plugins.Lance Stout
2012-04-30Collapse initial payload to a single stanza instead of a list if only one ↵Lance Stout
stanza is found.
2012-04-30Add full support for initial payloads with adhoc commands, plus test.Lance Stout
2012-04-07Prevent roster_update from firing twice after retrieving the roster.Lance Stout
2012-03-27Add tests for bool_interfaces.Lance Stout
2012-03-19Fix unicode issues in test cases for Py3+ introduced by issue #150.Lance Stout
2012-03-19Merge pull request #150 from correl/rpc_value_fixesLance Stout
Updated XEP-0009 to handle unicode strings
2012-03-16Expand support for XEP-0184.Lance Stout
New stanza interfaces: Adding a message receipt request: msg['request_receipt'] = True Adding a message receipt: msg['receipt'] = '123-24234' Retrieving the acked message ID: ack_id = msg['receipt'] print(ack_id) '123-24234' New configuration options: auto_ack: If True, auto reply to messages that request receipts. Defaults to True auto_request: If True, auto add receipt requests to appropriate outgoing messages. Defaults to False
2012-03-12Add tests for new plugin manager.Lance Stout
2012-03-10Resolve plugin dependency chains with XEP-0115.Lance Stout
The post_init() system can only reliably handle a single layer of dependencies between plugins, but PEP plugins with XEP-0115 exceed that limit and plugins can be post_init'ed out of order. To resolve this, we will special case XEP-0115 to be post_init'ed first until the new plugin system with dependency tracking is stable.
2012-03-07Add tests for roster versioning.Lance Stout
2012-02-19Update XEP-0085 plugin to work with both ElementTree and cElementTreeLance Stout
Each state element must have its own stanza class now. A stanza class with an empty name field causes errors in ElementTree, even though it works fine with cElementTree.