diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2022-03-24 14:35:44 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2022-03-24 14:35:44 +0000 |
commit | 492836ba89a98bb77c96756daceb0ece0db87345 (patch) | |
tree | 8aa450e8d314c4540e7a7cc6bd536bb55d4d0815 | |
parent | Changelog (diff) | |
download | synapse-babolivier/rewrite_is_url.tar.xz |
Fix test for older python versions github/babolivier/rewrite_is_url babolivier/rewrite_is_url
-rw-r--r-- | tests/rest/client/test_identity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/client/test_identity.py b/tests/rest/client/test_identity.py index 0c0c4e8498..181e9a66d3 100644 --- a/tests/rest/client/test_identity.py +++ b/tests/rest/client/test_identity.py @@ -80,6 +80,7 @@ class IdentityTestCase(unittest.HomeserverTestCase): } ) ) + mock_client.get_json = Mock(return_value=make_awaitable({})) self.hs.get_identity_handler().blacklisting_http_client = mock_client |