diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-05 17:03:14 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-05 17:03:14 -0400 |
commit | e47af0f086839c5d22a0de87a32a49386abef8df (patch) | |
tree | 6da2e9740119f3face74c2a89504b5566efd2902 /tests/handlers/test_e2e_keys.py | |
parent | update with newer coding style (diff) | |
download | synapse-e47af0f086839c5d22a0de87a32a49386abef8df.tar.xz |
fix test
Diffstat (limited to 'tests/handlers/test_e2e_keys.py')
-rw-r--r-- | tests/handlers/test_e2e_keys.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/handlers/test_e2e_keys.py b/tests/handlers/test_e2e_keys.py index 316dd6259d..7a59ec5085 100644 --- a/tests/handlers/test_e2e_keys.py +++ b/tests/handlers/test_e2e_keys.py @@ -265,7 +265,9 @@ 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) + devices = yield self.handler.query_devices( + {"device_keys": {local_user: []}}, 0, 0 + ) del devices["device_keys"][local_user]["abc"]["unsigned"] del devices["device_keys"][local_user]["def"]["unsigned"] self.assertDictEqual(devices["device_keys"][local_user]["abc"], device_key_1) |