diff options
author | louiz’ <louiz@louiz.org> | 2017-04-19 21:40:50 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-04-19 23:02:08 +0200 |
commit | c2cc9cb96f90586ed6bb2361b82e77fae79c4d98 (patch) | |
tree | 6412dac1f80c9aa5e9c78b9a465f28b080042b79 | |
parent | 54fa739d6b5d2cc0b3704eda32c7abac47708b60 (diff) | |
download | biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.gz biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.bz2 biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.xz biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.zip |
Remove the flood limit in our e2e charybdis configuration
-rw-r--r-- | tests/end_to_end/__main__.py | 1 | ||||
-rw-r--r-- | tests/end_to_end/ircd.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index 8acfe14..4483f31 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -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, diff --git a/tests/end_to_end/ircd.conf b/tests/end_to_end/ircd.conf index ec55884..0c0afa9 100644 --- a/tests/end_to_end/ircd.conf +++ b/tests/end_to_end/ircd.conf @@ -221,6 +221,7 @@ auth { auth { user = "*@*"; class = "users"; + flags = flood_exempt; }; /* privset {} blocks MUST be specified before anything that uses them. That |