summary refs log tree commit diff
path: root/tests/rest/client/test_login.py
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2021-11-15 12:31:22 +0200
committerGitHub <noreply@github.com>2021-11-15 10:31:22 +0000
commit6f862c5c28f03d712502635799dfd1b01bf79712 (patch)
treedab658400ea89b318c119af0fe945b605bb37a08 /tests/rest/client/test_login.py
parentRemove unused tables `room_stats_historical` and `user_stats_historical` (#11... (diff)
downloadsynapse-6f862c5c28f03d712502635799dfd1b01bf79712.tar.xz
Add support for the stable version of MSC2778 (#11335)
* Add support for the stable version of MSC2778

Signed-off-by: Tulir Asokan <tulir@maunium.net>

* Expect m.login.application_service in login and password provider tests

Signed-off-by: Tulir Asokan <tulir@maunium.net>
Diffstat (limited to '')
-rw-r--r--tests/rest/client/test_login.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/rest/client/test_login.py b/tests/rest/client/test_login.py
index a63f04bd41..0b90e3f803 100644
--- a/tests/rest/client/test_login.py
+++ b/tests/rest/client/test_login.py
@@ -79,7 +79,10 @@ EXPECTED_CLIENT_REDIRECT_URL_PARAMS = [("<ab c>", ""), ('q" =+"', '"fö&=o"')]
 
 # (possibly experimental) login flows we expect to appear in the list after the normal
 # ones
-ADDITIONAL_LOGIN_FLOWS = [{"type": "uk.half-shot.msc2778.login.application_service"}]
+ADDITIONAL_LOGIN_FLOWS = [
+    {"type": "m.login.application_service"},
+    {"type": "uk.half-shot.msc2778.login.application_service"},
+]
 
 
 class LoginRestServletTestCase(unittest.HomeserverTestCase):