summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/rest/client/test_identity.py1
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