use something that's the right type for user_id

pull/5726/head
Hubert Chathi 2019-09-06 17:52:37 -04:00
parent 415d0a00e0
commit ab729e31cf
1 changed files with 1 additions and 1 deletions

View File

@ -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"]