summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-12-04XEP-0422,0424,0425,0439: Add basic stanza testsmathieui
2020-12-04XEP-0045: Add basic stanza testsmathieui
2020-12-04Tests: Remove tabnannymathieui
it is not actively useful and takes 70% of the time of the tests
2020-12-02XEP-0405: add basic stanza testsmathieui
2020-12-02XEP-0369: add basic stanza testsmathieui
2020-11-27Update protoxep_reactions to XEP-0444mathieui
2020-05-27New XEP: 0421 Occupant-idMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24Add stanza tests for 0377mathieui
2019-12-27Skip 0323 becausemathieui
2019-07-16xmlstream/stanzabase: remove unused interfaces and types attributesMaxime “pep” Buquet
These are already on each stanza, and were not applicable to all stanzas anyway. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-02Make the cache encode and decode not crash if something goes wrongmathieui
2019-02-02Add tests for the cache apimathieui
2018-10-15fix: failUnlessEqual -> assertEqualFlorian Klien
2018-10-15fixing deprecation warnings for pytestFlorian Klien
2018-08-19examples, tests: Replace all @asyncio.coroutines with proper async functions.Emmanuel Gil Peyrot
2018-08-02tests: Fix the XEP-0323 stream test, broken since ↵Emmanuel Gil Peyrot
59d4420739db20b204bb15a2880de871316aa70f. Thanks debacle!
2017-02-11XEP-0300: Add rudimentary tests.Emmanuel Gil Peyrot
2016-11-26Add a plugin for XEP-0380: Explicit Message Encryption.Emmanuel Gil Peyrot
2016-10-22Manual cleanup of the remaining set([…]) and set((…)).Emmanuel Gil Peyrot
2016-10-22sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.pyEmmanuel Gil Peyrot
2016-10-22sed -i 's/set((\(.*\)))$/{\1}/g' **/*.pyEmmanuel Gil Peyrot
2016-10-22sed -i 's/set((\(.*\),))$/{\1}/g' **/*.pyEmmanuel Gil Peyrot
2016-10-04Fix XEP-0060 testsmathieui
2016-10-04Fix stanza accessors case in testsmathieui
They were using deprecated (and-removed) style.
2016-10-04Attrib property has been removedmathieui
2016-09-20Various XEPs: Remove deprecated aliases.Emmanuel Gil Peyrot
2015-10-02Merge branch 'develop' of https://github.com/fritzy/SleekXMPP into sleek-mergemathieui
Conflicts: README.rst examples/IoT_TestDevice.py examples/disco_browser.py setup.py sleekxmpp/jid.py sleekxmpp/plugins/google/auth/stanza.py sleekxmpp/plugins/google/gmail/notifications.py sleekxmpp/plugins/google/nosave/stanza.py sleekxmpp/plugins/google/settings/settings.py sleekxmpp/thirdparty/__init__.py sleekxmpp/thirdparty/socks.py sleekxmpp/thirdparty/statemachine.py sleekxmpp/util/__init__.py sleekxmpp/xmlstream/xmlstream.py slixmpp/basexmpp.py slixmpp/plugins/xep_0004/stanza/form.py slixmpp/plugins/xep_0009/rpc.py slixmpp/plugins/xep_0050/adhoc.py slixmpp/plugins/xep_0065/proxy.py slixmpp/plugins/xep_0084/stanza.py slixmpp/plugins/xep_0202/time.py slixmpp/plugins/xep_0323/sensordata.py slixmpp/plugins/xep_0325/control.py slixmpp/plugins/xep_0325/stanza/control.py slixmpp/roster/single.py slixmpp/stanza/atom.py slixmpp/stanza/rootstanza.py slixmpp/test/slixtest.py slixmpp/util/sasl/mechanisms.py slixmpp/version.py slixmpp/xmlstream/stanzabase.py tests/test_stanza_xep_0323.py tests/test_stanza_xep_0325.py tests/test_stream_xep_0323.py tests/test_stream_xep_0325.py
2015-09-18Merge branch 'develop' into xep_0050_updatesRobert Robinson
# Conflicts: # tests/test_stream_xep_0050.py
2015-09-15Add test case Reported->Data Form ValidationRobert Robinson
Add a test case that will verify that reported fields can contain data form validation data.
2015-09-15Merge branch 'refactor_forms' into add_xep_0122Robert Robinson
2015-09-15Add test case for reported and itemsRobert Robinson
Previous stanza test cases didn't have test cases for reported and item field types in forms. This fixes that issue. Modified stanzabase to use an ordered dict so that can guarentee the that 'items' in a form are added after reported. Also updated the set of interfaces that are stored in Form to be a ordered set. Used the order set implementation from: https://code.activestate.com/recipes/576694/ The OrderedSet implementation is licensed under the MIT license and is developed by the same developer of the ordereddict.
2015-09-14Add pluginRobert Robinson
(cherry picked from commit 2296d56)
2015-09-14Working through test case issues.Robert Robinson
(cherry picked from commit 6b58cef)
2015-09-14Initial cut at getting the stanzas to work.Robert Robinson
(cherry picked from commit 8c7df49)
2015-09-14Fix xep_0050 changes after form refactor.Robert Robinson
2015-09-14Force forms and fields to use plugin resolutionRobert Robinson
Instead of using the interface/subinterface code that was currently being implemented for the plugin. (cherry picked from commit 1467ec7)
2015-09-12Update test_stream_xep_0050.pyRobert Robinson
Fix Unit Test for adhoc 50 stream.
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-08-23cleanup semicolons, whitespace and mutable default argumentsRobin Gloster
2014-08-18Revert "cleanup semicolons, whitespace and mutable default arguments"Robin Gloster
This reverts commit 7265682a4d57d88956cb54f98f7a470465bbf417.
2014-08-18cleanup semicolons, whitespace and mutable default argumentsRobin Gloster
2014-07-17Rename to slixmppFlorent Le Coz
2014-02-06Get the IoT plugins to pass tests on Py3sleek-1.2.01.2.0Lance Stout