summary refs log tree commit diff
path: root/tests/handlers/test_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-01Kill off MatrixCodeMessageExceptionRichard van der Hoff5-78/+47
This code brings the SimpleHttpClient into line with the MatrixFederationHttpClient by having it raise HttpResponseExceptions when a request fails (rather than trying to parse for matrix errors and maybe raising MatrixCodeMessageException). Then, whenever we were checking for MatrixCodeMessageException and turning them into SynapseErrors, we now need to check for HttpResponseExceptions and call to_synapse_error.
2018-08-01