diff options
author | louiz’ <louiz@louiz.org> | 2020-03-11 18:14:19 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-03-11 18:14:19 +0100 |
commit | 470ba2e4e486d922b2585219b790371ec7df934a (patch) | |
tree | 3d392e3614bba923d900347c4424e6800d350aaa /tests/end_to_end | |
parent | 2c4ffbf25ae2647c586c9069c182444152c28622 (diff) | |
download | biboumi-470ba2e4e486d922b2585219b790371ec7df934a.tar.gz biboumi-470ba2e4e486d922b2585219b790371ec7df934a.tar.bz2 biboumi-470ba2e4e486d922b2585219b790371ec7df934a.tar.xz biboumi-470ba2e4e486d922b2585219b790371ec7df934a.zip |
Remove the part of the force-join test that checks the nick changed
Because we actually don’t change the nick, we ignore it, just like in the
case of a normal join (of an other resource, or an other channel on the same
server).
Diffstat (limited to 'tests/end_to_end')
-rw-r--r-- | tests/end_to_end/scenarios/channel_force_join.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/end_to_end/scenarios/channel_force_join.py b/tests/end_to_end/scenarios/channel_force_join.py index 089da51..9a24c06 100644 --- a/tests/end_to_end/scenarios/channel_force_join.py +++ b/tests/end_to_end/scenarios/channel_force_join.py @@ -21,25 +21,5 @@ scenario = ( "/message[@from='#foo%{irc_server_one}'][@type='groupchat']/subject[not(text())]" ] ), - - # And also, that was not the same nickname, so everyone receives a nick change - expect_unordered( - [ - "/presence[@from='#foo%{irc_server_one}/{nick_one}'][@to='{jid_two}/{resource_one}'][@type='unavailable']/muc_user:x/muc_user:item[@nick='Bernard']", - "/presence/muc_user:x/muc_user:status[@code='303']", - ], - [ - "/presence[@from='#foo%{irc_server_one}/{nick_three}'][@to='{jid_two}/{resource_one}']", - ], - [ - "/presence[@from='#foo%{irc_server_one}/{nick_one}'][@to='{jid_one}/{resource_one}'][@type='unavailable']/muc_user:x/muc_user:item[@nick='Bernard']", - "/presence/muc_user:x/muc_user:status[@code='303']", - "/presence/muc_user:x/muc_user:status[@code='110']", - ], - [ - "/presence[@from='#foo%{irc_server_one}/{nick_three}'][@to='{jid_one}/{resource_one}']", - "/presence/muc_user:x/muc_user:status[@code='110']", - ], - ), ) |