diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-06 17:52:37 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-06 17:52:37 -0400 |
commit | ab729e31cfca4d1a958937bb576010271b9c8044 (patch) | |
tree | 208658cc76224dee88094afb3e5d6935305f816c | |
parent | run black (diff) | |
download | synapse-ab729e31cfca4d1a958937bb576010271b9c8044.tar.xz |
use something that's the right type for user_id
-rw-r--r-- | tests/handlers/test_e2e_keys.py | 2 |
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"] |