summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-04 14:00:53 +0100
committerlouiz’ <louiz@louiz.org>2017-03-04 14:03:08 +0100
commitd81c3ad5ac2c12130d90044b7597bf962a7cfe9e (patch)
treef5e9dec2fec5ceec917cc9c0b87371393a085b66 /tests/end_to_end
parente6e37a6f209ae2e9416b0da03ff21469cb4645b8 (diff)
downloadbiboumi-d81c3ad5ac2c12130d90044b7597bf962a7cfe9e.tar.gz
biboumi-d81c3ad5ac2c12130d90044b7597bf962a7cfe9e.tar.bz2
biboumi-d81c3ad5ac2c12130d90044b7597bf962a7cfe9e.tar.xz
biboumi-d81c3ad5ac2c12130d90044b7597bf962a7cfe9e.zip
Fix the order of from and to address in muc traffic info reply
And add a test for it. fix #3238
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index f93025e..c298793 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -1864,7 +1864,7 @@ if __name__ == '__main__':
partial(send_stanza,
"<iq from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' id='1' type='get'><query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/muc#traffic'/></iq>"),
- partial(expect_stanza, "/iq[@type='result']/disco_info:query[@node='http://jabber.org/protocol/muc#traffic']"),
+ partial(expect_stanza, "/iq[@from='#foo%{irc_server_one}'][@to='{jid_one}/{resource_one}'][@type='result']/disco_info:query[@node='http://jabber.org/protocol/muc#traffic']"),
]),
Scenario("raw_message",
[