summaryrefslogtreecommitdiff
path: root/slixmpp/test/slixtest.py
AgeCommit message (Collapse)Author
2021-12-13Revert "Replace asyncio.ensure_future() with asyncio.create_task()"mathieui
This reverts commit bac6a4b2bf2fc98401e0de7168c4a5cf31b08b37. This is not actually something we want
2021-11-18Replace asyncio.ensure_future() with asyncio.create_task()Emmanuel Gil Peyrot
The latter function got introduced in Python 3.7, which is conveniently our MSPV, so let’s use that.
2021-07-04fix: remove asyncio hack in slixtestmathieui
2021-04-08xmlstream: do not allow stanzas outside a sessionmathieui
except for the bind, obviously
2021-02-20tests: return the coroutine result in run_coromathieui
2021-02-20slixtest: add more shortcuts for asyncio workflowmathieui
2021-02-20slixtest: use the default stream ns instead of jabber:clientmathieui
2021-02-05global: rewrite copyright notice to use commentsmathieui
2019-12-27Update test framework to work with new filtersmathieui
(eewww)
2019-07-13Make generated stanza id truly randomMaxime “pep” Buquet
Fix long-standing security issues where stanza @id be predictable. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-31Set @id by default on outgoing messages and presences.Emmanuel Gil Peyrot
Respects RFC6120 §8.1.3’s RECOMMENDED.
2018-10-15fixing deprecation warnings for pytestFlorian Klien
2015-12-15Remove dead codeKrzysztof Kotlenga
See 5c769632e8d35ea76990a1de3ab405c57a21482e.
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-04-04Use a full JID for testing.Emmanuel Gil Peyrot
2015-03-02XMLStream: factorize the highlight function so it can be used in tests as wellEmmanuel 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 the now useless Queue wrapper in slixmpp.util.Emmanuel Gil Peyrot
2014-07-17Rename to slixmppFlorent Le Coz