~singpolyma/biboumi

ref: 1b1b03b21b5e482dda75796b1287aa9bc6cfd847 biboumi/tests/end_to_end/__main__.py -rw-r--r-- 12.2 KiB
Print each e2e test output on only one line
e4550d32 — louiz’ 2 years ago
e2e: do not fail to start if no irc database exist yet
2e1ddeb6 — louiz’ 2 years ago
Implement SASL plain authentication
25530cf9 — louiz’ 2 years ago
e2e: Switch from coroutines to async, for python3.8
057ef25e — louiz’ 2 years ago
Create oragono TLS certificate automatically before each e2e run
81fb7389 — louiz’ 2 years ago
Start oragono instead of charybdis
eb976918 — louiz’ 2 years ago
e2e: Switch from coroutines to async, for python3.8
3584979c — louiz’ 2 years ago
e2e: fix the timeout code for expect_unordered
440e04c6 — louiz’ 2 years ago
e2e: Add a 10s timeout for expect_stanza

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
efb695be — louiz’ 2 years ago
e2e: Implicitely include the handshake in all tests

Instead of having to write it manually everytime
17366413 — louiz’ 2 years ago
Clean the __main__ file of the e2e tests

I forgot to remove some things when I moved them into functions.py
bd41bc8b — louiz’ 2 years ago
Split all the e2e tests in their own files

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.
7291f9c5 — louiz’ 2 years ago
Remove a duplicate e2e test
ba2d961f — louiz’ 2 years ago
Add tests for non anonymous rooms

See #3390
cbfb5629 — louiz’ 2 years ago
Expect a 210 code in the "change nick on join" e2e test
55e53852 — louiz’ 2 years ago
Update the e2e test to work with latest slixmpp
11d0262a — louiz’ 2 years ago
Update the tests to reflect the next->complete change
d6460e28 — louiz’ 2 years ago
Add a test for outgoing /me messages that confirms issue #3382
a8ce138d — Jonas Schäfer 2 years ago
XEP-0410: set not-in-the-room error condition to not-acceptable

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.
b68f3605 — Jonas Schäfer 2 years ago
XEP-0410: implement server-side optimisation for self-pings

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.
Next