0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 15:43:52 +01:00
synapse/tests/handlers
Richard van der Hoff 01333681bc
Preparatory refactoring of the SamlHandlerTestCase (#8938)
* move simple_async_mock to test_utils

... so that it can be re-used

* Remove references to `SamlHandler._map_saml_response_to_user` from tests

This method is going away, so we can no longer use it as a test point. Instead,
factor out a higher-level method which takes a SAML object, and verify correct
behaviour by mocking out `AuthHandler.complete_sso_login`.

* changelog
2020-12-15 20:56:10 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test_admin.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_appservice.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
test_auth.py Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
test_device.py Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
test_directory.py Remove redundant mocking 2020-12-02 17:53:38 +00:00
test_e2e_keys.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_e2e_room_keys.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_federation.py Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
test_message.py Remove redundant HomeserverTestCase.render 2020-11-16 18:24:08 +00:00
test_oidc.py Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
test_password_providers.py Fix startup failure with localdb_enabled: False (#8937) 2020-12-14 20:42:03 +00:00
test_presence.py Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
test_profile.py Remove redundant mocking 2020-12-02 17:53:38 +00:00
test_register.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_saml.py Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
test_stats.py Rename 'populate_stats_process_rooms_2' background job back to 'populate_stats_process_rooms' again (#8243) 2020-09-08 11:05:59 +01:00
test_sync.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
test_typing.py Merge pull request #8858 from matrix-org/rav/sso_uia 2020-12-02 20:06:53 +00:00
test_user_directory.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00