summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2019-09-23 22:41:34 +0200
committerlouiz’ <louiz@louiz.org>2019-09-23 22:41:34 +0200
commitba2d961ff0f7e760124ec3e9b4aa893814c8436a (patch)
treecaf54abb107cfbdbd5653e20dad4138b63dea76c /tests/end_to_end
parent3339ce2cc0be9cc15a6cd9571025846edd1bef20 (diff)
downloadbiboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.gz
biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.bz2
biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.tar.xz
biboumi-ba2d961ff0f7e760124ec3e9b4aa893814c8436a.zip
Add tests for non anonymous rooms
See #3390
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py2
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']"
)),