diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-10 14:30:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 14:30:08 -0400 |
commit | 66a4af8d9627719a875c405c8c0f49b0056811b2 (patch) | |
tree | 8b489d82abe00793da78d40715dbb91731224044 /tests | |
parent | Add types to the server code and remove unused parameter (#7813) (diff) | |
download | synapse-66a4af8d9627719a875c405c8c0f49b0056811b2.tar.xz |
Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/v1/test_login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_login.py b/tests/rest/client/v1/test_login.py index fd97999956..2be7238b00 100644 --- a/tests/rest/client/v1/test_login.py +++ b/tests/rest/client/v1/test_login.py @@ -398,7 +398,7 @@ class CASTestCase(unittest.HomeserverTestCase): </cas:serviceResponse> """ % cas_user_id - ) + ).encode("utf-8") mocked_http_client = Mock(spec=["get_raw"]) mocked_http_client.get_raw.side_effect = get_raw |