summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-08-16 15:51:47 +0200
committerlouiz’ <louiz@louiz.org>2020-08-16 16:03:11 +0200
commitdf2fe0bc4bf6240e47abf26ff88ffdfc9373f481 (patch)
tree9c5ca41075261faf6f377c6fa6ac2ff6d659266d /tests/end_to_end
parent063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216 (diff)
downloadbiboumi-df2fe0bc4bf6240e47abf26ff88ffdfc9373f481.tar.gz
biboumi-df2fe0bc4bf6240e47abf26ff88ffdfc9373f481.tar.bz2
biboumi-df2fe0bc4bf6240e47abf26ff88ffdfc9373f481.tar.xz
biboumi-df2fe0bc4bf6240e47abf26ff88ffdfc9373f481.zip
Fix the parsing of IRC messages, especially with trailing spaces
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/scenarios/multiple_channels_join.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/end_to_end/scenarios/multiple_channels_join.py b/tests/end_to_end/scenarios/multiple_channels_join.py
index 839909f..281a902 100644
--- a/tests/end_to_end/scenarios/multiple_channels_join.py
+++ b/tests/end_to_end/scenarios/multiple_channels_join.py
@@ -14,5 +14,9 @@ scenario = (
expect_self_join_presence(jid='{jid_one}/{resource_one}', chan="#foo", nick="{nick_one}"),
expect_self_join_presence(jid='{jid_one}/{resource_one}', chan="#bar", nick="{nick_one}"),
expect_self_join_presence(jid='{jid_one}/{resource_one}', chan="#baz", nick="{nick_one}"),
+
+ send_stanza("<message from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' type='groupchat'><subject>Le topic</subject></message>"),
+ expect_stanza("/message"),
+
)