~singpolyma/biboumi

c2cc9cb96f90586ed6bb2361b82e77fae79c4d98 — louiz’ 5 years ago 54fa739
Remove the flood limit in our e2e charybdis configuration
2 files changed, 2 insertions(+), 0 deletions(-)

M tests/end_to_end/__main__.py
M tests/end_to_end/ircd.conf
M tests/end_to_end/__main__.py => tests/end_to_end/__main__.py +1 -0
@@ 454,6 454,7 @@ def connection_end_sequence(irc_host, jid):
    xpath_re = "/message[@to='" + jid + "'][@from='" + irc_host + "@biboumi.localhost']/body[re:test(text(), '%s')]"
    irc_host = 'irc.localhost'
    return (
    partial(expect_stanza, xpath_re % (r'^%s: \*\*\* You are exempt from flood limits$' % irc_host)),
    partial(expect_stanza,
            xpath_re % (r'^%s: Your host is .*$' % irc_host)),
    partial(expect_stanza,

M tests/end_to_end/ircd.conf => tests/end_to_end/ircd.conf +1 -0
@@ 221,6 221,7 @@ auth {
auth {
	user = "*@*";
	class = "users";
        flags = flood_exempt;
};

/* privset {} blocks MUST be specified before anything that uses them.  That