summary refs log tree commit diff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-09-06 17:52:37 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-09-06 17:52:37 -0400
commitab729e31cfca4d1a958937bb576010271b9c8044 (patch)
tree208658cc76224dee88094afb3e5d6935305f816c
parentrun black (diff)
downloadsynapse-ab729e31cfca4d1a958937bb576010271b9c8044.tar.xz
use something that's the right type for user_id
-rw-r--r--tests/handlers/test_e2e_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_e2e_keys.py b/tests/handlers/test_e2e_keys.py
index 7a59ec5085..854eb6c024 100644
--- a/tests/handlers/test_e2e_keys.py
+++ b/tests/handlers/test_e2e_keys.py
@@ -266,7 +266,7 @@ class E2eKeysHandlerTestCase(unittest.TestCase):
         device_key_1["signatures"][local_user]["ed25519:abc"] = "base64+signature"
         device_key_2["signatures"][local_user]["ed25519:def"] = "base64+signature"
         devices = yield self.handler.query_devices(
-            {"device_keys": {local_user: []}}, 0, 0
+            {"device_keys": {local_user: []}}, 0, local_user
         )
         del devices["device_keys"][local_user]["abc"]["unsigned"]
         del devices["device_keys"][local_user]["def"]["unsigned"]