ref: fdb3e739b0f1969e83250d98bda27b938a207f81 biboumi/tests/end_to_end/functions.py -rw-r--r-- 6.7 KiB
f06fac2a — louiz’ 2 years ago
Rename the e2e nicks to make things easier to debug
440e04c6 — louiz’ 3 years ago
e2e: Add a 10s timeout for expect_stanza

Otherwise, if we expect a stanza and biboumi never sends it, we just hang

Now, we display a nice error after 10 seconds, and move on to the next test,
as other failures (xpath doesn’t match) do
17366413 — louiz’ 3 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’ 3 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.