diff options
author | louiz’ <louiz@louiz.org> | 2017-07-20 23:09:37 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-07-20 23:09:37 +0200 |
commit | f125de4833d65a83d1f550f4bfbff4d5e4c333b2 (patch) | |
tree | 2b12d105e3925b8dbe4d6d10e20d189ee31c77f0 /tests/end_to_end | |
parent | 407f95a108c275db5e9b07398f553ab573cd46bc (diff) | |
download | biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.gz biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.bz2 biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.xz biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.zip |
Add the possibility to invite any external JID to a room
fix #3285
Diffstat (limited to 'tests/end_to_end')
-rw-r--r-- | tests/end_to_end/__main__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index ce9add6..8c2d8e9 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -2406,6 +2406,9 @@ if __name__ == '__main__': partial(send_stanza, "<message from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}'><x xmlns='http://jabber.org/protocol/muc#user'><invite to='{nick_two}'/></x></message>"), partial(expect_stanza, "/message/body[text()='{nick_two} has been invited to #foo']"), partial(expect_stanza, "/message[@to='{jid_two}/{resource_two}'][@from='#foo%{irc_server_one}']/muc_user:x/muc_user:invite[@from='#foo%{irc_server_one}/{nick_one}']"), + + partial(send_stanza, "<message from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}'><x xmlns='http://jabber.org/protocol/muc#user'><invite to='bertrand@example.com'/></x></message>"), + partial(expect_stanza, "/message[@to='bertrand@example.com'][@from='#foo%{irc_server_one}']/muc_user:x/muc_user:invite[@from='{jid_one}/{resource_one}']"), ]), Scenario("virtual_channel_multisession", [ |