summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-19 21:40:50 +0200
committerlouiz’ <louiz@louiz.org>2017-04-19 23:02:08 +0200
commitc2cc9cb96f90586ed6bb2361b82e77fae79c4d98 (patch)
tree6412dac1f80c9aa5e9c78b9a465f28b080042b79 /tests/end_to_end
parent54fa739d6b5d2cc0b3704eda32c7abac47708b60 (diff)
downloadbiboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.gz
biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.bz2
biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.tar.xz
biboumi-c2cc9cb96f90586ed6bb2361b82e77fae79c4d98.zip
Remove the flood limit in our e2e charybdis configuration
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py1
-rw-r--r--tests/end_to_end/ircd.conf1
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