diff options
author | louiz’ <louiz@louiz.org> | 2019-09-23 22:41:34 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2019-09-23 22:41:34 +0200 |
commit | ba2d961ff0f7e760124ec3e9b4aa893814c8436a (patch) | |
tree | caf54abb107cfbdbd5653e20dad4138b63dea76c | |
parent | 3339ce2cc0be9cc15a6cd9571025846edd1bef20 (diff) | |
download | biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.gz biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.bz2 biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.xz biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.zip |
Add tests for non anonymous rooms
See #3390
-rw-r--r-- | tests/end_to_end/__main__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index 432d8e9..dd227e0 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -609,6 +609,7 @@ if __name__ == '__main__': "/message/body[text()='Mode #foo [+nt] by {irc_host_one}']"), partial(expect_stanza, ("/presence[@to='{jid_one}/{resource_one}'][@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='100']", # Rooms are all non-anonymous "/presence/muc_user:x/muc_user:status[@code='110']") ), partial(expect_stanza, "/message[@from='#foo%{irc_server_one}'][@type='groupchat']/subject[not(text())]"), @@ -2823,6 +2824,7 @@ if __name__ == '__main__': "/iq/disco_info:query/disco_info:feature[@var='urn:xmpp:ping']", "/iq/disco_info:query/disco_info:feature[@var='urn:xmpp:mam:2']", "/iq/disco_info:query/disco_info:feature[@var='jabber:iq:version']", + "/iq/disco_info:query/disco_info:feature[@var='muc_nonanonymous']", "!/iq/disco_info:query/dataform:x/dataform:field[@var='muc#roominfo_occupants']" )), |