MatrixSynapse/synapse
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
..
_scripts
api Honour AS ratelimit settings for /login requests (#8920) 2020-12-11 16:33:31 +00:00
app Fix deadlock on SIGHUP (#8918) 2020-12-10 16:56:05 +00:00
appservice
config Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
crypto
events Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
federation Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
groups
handlers Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
http Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
logging Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
metrics Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
module_api
push Fix handling of stream tokens for push. (#8943) 2020-12-15 10:41:34 -05:00
replication Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
res/templates
rest Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
server_notices
spam_checker_api
state
static
storage Fix handling of stream tokens for push. (#8943) 2020-12-15 10:41:34 -05:00
streams
util Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
types.py
visibility.py