summaryrefslogtreecommitdiff
path: root/tests/end_to_end/scenarios/self_version.py
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-03-11 18:41:43 +0100
committerlouiz’ <louiz@louiz.org>2020-03-11 18:41:43 +0100
commit212e8e59897c65e50f9d89949824a32d383201f4 (patch)
tree6c8628cb616ff7977176ee2316f115fa5cc2a9d9 /tests/end_to_end/scenarios/self_version.py
parenta0d24b48471e5307fda077a11491a3c44cbbdfaf (diff)
parent470ba2e4e486d922b2585219b790371ec7df934a (diff)
downloadbiboumi-212e8e59897c65e50f9d89949824a32d383201f4.tar.gz
biboumi-212e8e59897c65e50f9d89949824a32d383201f4.tar.bz2
biboumi-212e8e59897c65e50f9d89949824a32d383201f4.tar.xz
biboumi-212e8e59897c65e50f9d89949824a32d383201f4.zip
Merge remote-tracking branch 'linkmauve/die-gc1.0-die'
Diffstat (limited to 'tests/end_to_end/scenarios/self_version.py')
-rw-r--r--tests/end_to_end/scenarios/self_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end_to_end/scenarios/self_version.py b/tests/end_to_end/scenarios/self_version.py
index f567355..a5c81eb 100644
--- a/tests/end_to_end/scenarios/self_version.py
+++ b/tests/end_to_end/scenarios/self_version.py
@@ -13,7 +13,7 @@ scenario = (
expect_stanza("/iq[@from='#foo%{irc_server_one}/{nick_one}'][@type='result'][@to='{jid_one}/{resource_one}'][@id='first_version']/version:query/version:name[text()='e2e test (through the biboumi gateway) 1.0 Fedora']"),
# Now join the same room, from the same bare JID, behind the same nick
- send_stanza("<presence from='{jid_one}/{resource_two}' to='#foo%{irc_server_one}/{nick_one}' />"),
+ send_stanza("<presence from='{jid_one}/{resource_two}' to='#foo%{irc_server_one}/{nick_one}' ><x xmlns='http://jabber.org/protocol/muc'/></presence>"),
expect_stanza("/presence[@to='{jid_one}/{resource_two}'][@from='#foo%{irc_server_one}/{nick_one}']/muc_user:x/muc_user:item[@affiliation='admin'][@role='moderator']",
"/presence/muc_user:x/muc_user:status[@code='110']"),
expect_stanza("/message[@from='#foo%{irc_server_one}'][@type='groupchat'][@to='{jid_one}/{resource_two}']/subject[not(text())]"),