0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-26 14:38:18 +02:00

use something that's the right type for user_id

This commit is contained in:
Hubert Chathi 2019-09-06 17:52:37 -04:00
parent 415d0a00e0
commit ab729e31cf

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