summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-04-19 02:43:26 +0200
committerlouiz’ <louiz@louiz.org>2016-04-22 10:49:07 +0200
commit04d28f968b227067e77e365d317fc251d3c965f7 (patch)
treef457b9167c1d91312a8ce341abe0559be2877be7 /tests
parent64f341ee80b0d53f0a6e128a1ccc38205361c3bb (diff)
downloadbiboumi-04d28f968b227067e77e365d317fc251d3c965f7.tar.gz
biboumi-04d28f968b227067e77e365d317fc251d3c965f7.tar.bz2
biboumi-04d28f968b227067e77e365d317fc251d3c965f7.tar.xz
biboumi-04d28f968b227067e77e365d317fc251d3c965f7.zip
Forward the topic authors, handle the author from 333 messages
fix #2
Diffstat (limited to 'tests')
-rw-r--r--tests/end_to_end/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index b027bd9..f9d0447 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -409,7 +409,7 @@ if __name__ == '__main__':
# First user sets the topic
partial(send_stanza,
"<message from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' type='groupchat'><subject>TOPIC TEST</subject></message>"),
- partial(expect_stanza, "/message[@from='#foo%{irc_server_one}'][@type='groupchat'][@to='{jid_one}/{resource_one}']/subject[text()='TOPIC TEST']"),
+ partial(expect_stanza, "/message[@from='#foo%{irc_server_one}/{nick_one}'][@type='groupchat'][@to='{jid_one}/{resource_one}']/subject[text()='TOPIC TEST']"),
# Second user joins
partial(send_stanza,
@@ -426,7 +426,7 @@ if __name__ == '__main__':
("/presence[@to='{jid_two}/{resource_one}'][@from='#foo%{irc_server_one}/{nick_two}']/muc_user:x/muc_user:item[@affiliation='none'][@jid='~bobby@localhost'][@role='participant']",
"/presence/muc_user:x/muc_user:status[@code='110']")
),
- partial(expect_stanza, "/message[@from='#foo%{irc_server_one}'][@type='groupchat']/subject[text()='TOPIC TEST']"),
+ partial(expect_stanza, "/message[@from='#foo%{irc_server_one}/{nick_one}'][@type='groupchat']/subject[text()='TOPIC TEST']"),
]),
)