summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-05-05e2e: Switch from coroutines to async, for python3.8louiz’
2020-04-19Demonstrate bug #3429louiz’
2020-03-11Merge remote-tracking branch 'linkmauve/die-gc1.0-die'louiz’
2020-03-11Remove the part of the force-join test that checks the nick changedlouiz’
Because we actually don’t change the nick, we ignore it, just like in the case of a normal join (of an other resource, or an other channel on the same server).
2020-03-11And modify the tests to work, by adding the <x/> node in all join presenceslouiz’
2020-03-11Fix a type stable-id -> stanza-id, and add a test case to be exhaustivelouiz’
2020-03-11Announce the urn:xmpp:sid:0 NS in MUC's disco#infolouiz’
As required by XEP 0359 Should fix #3369
2020-03-11Make sure we keep the stable-id and origin-id nodes when requiredlouiz’
See https://xmpp.org/extensions/xep-0359.html
2020-03-10Add a test to check that XEP-45 stable ID thing is respectedlouiz’
See https://xmpp.org/extensions/xep-0045.html#message
2020-03-02Demonstrate issue #3423 with e2e testslouiz’
2020-03-02e2e: fix the timeout code for expect_unorderedlouiz’
2020-03-02Rename the e2e nicks to make things easier to debuglouiz’
2019-11-13e2e: Add a 10s timeout for expect_stanzalouiz’
Otherwise, if we expect a stanza and biboumi never sends it, we just hang here. Now, we display a nice error after 10 seconds, and move on to the next test, as other failures (xpath doesn’t match) do
2019-11-09e2e: Implicitely include the handshake in all testslouiz’
Instead of having to write it manually everytime
2019-11-09Clean the __main__ file of the e2e testslouiz’
I forgot to remove some things when I moved them into functions.py
2019-11-06Add a missing max_history_length field in the IRC server option formlouiz’
2019-11-06e2e: Test the behaviour on bad integer value for ad-hoc confslouiz’
2019-11-06Add a test for MAM without an “end” valuelouiz’
2019-10-31Split all the e2e tests in their own fileslouiz’
Some duplication is avoided, but most importantly: it’s much much cleaner, easier to find, functions have been cleaned up (functools.partial usages are now hidden), etc.
2019-09-23Remove a duplicate e2e testlouiz’
2019-09-23Add tests for non anonymous roomslouiz’
See #3390
2019-09-22Expect a 210 code in the "change nick on join" e2e testlouiz’
2019-09-18Update the e2e test to work with latest slixmpplouiz’
2019-09-14Update the tests to reflect the next->complete changelouiz’
2019-08-25Add a test for outgoing /me messages that confirms issue #3382louiz’
2019-08-20XEP-0410: set not-in-the-room error condition to not-acceptableJonas Schäfer
XEP-0410 demands that. This changes the error condition for all pings to the room, even those which aren’t self-pings, if the sender is not joined. The conditions of XEP-0410 were based on observing existing implementations.
2019-08-20XEP-0410: implement server-side optimisation for self-pingsJonas Schäfer
This prevents the ping from round-tripping through IRC and possibly a random other client of the user. Please see XEP-0410 for the rationale. Fixes #3385.
2018-10-04Do not send the IRC host directly as real JID of the userrefactor-resourcesJonas Schäfer
Fixes #3381
2018-09-17Add a test demonstrating #3378louiz’
2018-08-26Flush stdout between each e2e testlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Trivial move of a variable in a smaller “ifndef” scopelouiz’
2018-07-27Fix a few e2e tests that could fail due to race conditionlouiz’
The order of the messages received can be different, if the IRC server decides so, or lags, or something.
2018-07-25Add two more sleeps, for the same reasonlouiz’
2018-07-25Disable the throttling for two tests that are very very longlouiz’
2018-07-25Add a timer for each e2e testlouiz’
2018-07-25Add a sleep in a e2e testlouiz’
Reasons explained in the comment in the code
2018-07-24Trivially improve a e2e testlouiz’
2018-06-25Throttle all commands sent to IRC serverslouiz’
fix #3354
2018-06-19Reject messages from unjoined resources, with an errorlouiz’
fix #3346
2018-06-17Channels’ disco#info includes the number of participantslouiz’
fix #3311
2018-06-01Merge branch 'v8'louiz’
2018-06-01Make the global ad-hoc configure command available in fixed modelouiz’
fix #3360
2018-05-15Merge branch 'v8'louiz’
2018-05-15Add a e2e test for a raw NAMES commandlouiz’
2018-05-14Empty the <command/> nodes before reusing them in our responseslouiz’
fix #3356
2018-04-29Add a test for the <max>0</max> MAM querylouiz’
2018-04-29mam: Send “fin complete” only when appropriatelouiz’
Also simplify how we did the whole “limit + 1” And fix one bad interpretation of the XEP for the case where the query has no after or before restriction. fix #3349
2018-04-29Missing fields in a data-form response are now interpreted as an empty valuelouiz’
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.