mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
use something that's the right type for user_id
This commit is contained in:
parent
415d0a00e0
commit
ab729e31cf
@ -266,7 +266,7 @@ class E2eKeysHandlerTestCase(unittest.TestCase):
|
|||||||
device_key_1["signatures"][local_user]["ed25519:abc"] = "base64+signature"
|
device_key_1["signatures"][local_user]["ed25519:abc"] = "base64+signature"
|
||||||
device_key_2["signatures"][local_user]["ed25519:def"] = "base64+signature"
|
device_key_2["signatures"][local_user]["ed25519:def"] = "base64+signature"
|
||||||
devices = yield self.handler.query_devices(
|
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]["abc"]["unsigned"]
|
||||||
del devices["device_keys"][local_user]["def"]["unsigned"]
|
del devices["device_keys"][local_user]["def"]["unsigned"]
|
||||||
|
Loading…
Reference in New Issue
Block a user