diff options
author | louiz’ <louiz@louiz.org> | 2019-09-22 15:45:39 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2019-09-22 15:54:13 +0200 |
commit | cbfb562903363000b000963300c81542174f8eae (patch) | |
tree | 80cd82bcde314368ef97bd90723066ec28bbcfa4 /tests | |
parent | 016ee7121e37e2a0c811afb0b828ae2147e8aa27 (diff) | |
download | biboumi-cbfb562903363000b000963300c81542174f8eae.tar.gz biboumi-cbfb562903363000b000963300c81542174f8eae.tar.bz2 biboumi-cbfb562903363000b000963300c81542174f8eae.tar.xz biboumi-cbfb562903363000b000963300c81542174f8eae.zip |
Expect a 210 code in the "change nick on join" e2e test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/end_to_end/__main__.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index 182b5e8..432d8e9 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -705,7 +705,8 @@ if __name__ == '__main__': "/message/body[text()='Mode #bar [+nt] by {irc_host_one}']"), partial(expect_stanza, ("/presence[@to='{jid_one}/{resource_one}'][@from='#bar%{irc_server_one}/{nick_one}']/muc_user:x/muc_user:item[@affiliation='admin'][@role='moderator']", - "/presence/muc_user:x/muc_user:status[@code='110']") + "/presence/muc_user:x/muc_user:status[@code='110']", + "/presence/muc_user:x/muc_user:status[@code='210']") ), partial(expect_stanza, "/message[@from='#bar%{irc_server_one}'][@type='groupchat']/subject[not(text())]"), @@ -715,7 +716,8 @@ if __name__ == '__main__': "/message/body[text()='Mode #boule [+nt] by {irc_host_one}']"), partial(expect_stanza, ("/presence[@to='{jid_one}/{resource_one}'][@from='#boule%{irc_server_one}/{nick_one}']/muc_user:x/muc_user:item[@affiliation='admin'][@role='moderator']", - "/presence/muc_user:x/muc_user:status[@code='110']") + "/presence/muc_user:x/muc_user:status[@code='110']", + "/presence/muc_user:x/muc_user:status[@code='210']") ), partial(expect_stanza, "/message[@from='#boule%{irc_server_one}'][@type='groupchat']/subject[not(text())]"), ]), |