summary refs log tree commit diff
path: root/tests/storage/test_devices.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-04-14 14:09:00 +0100
committerDavid Robertson <davidr@element.io>2022-04-14 14:09:00 +0100
commitcbdbcb0c37eca6852e5365cd3aebf32719c2c723 (patch)
tree099f55f21f32114864449d5573aca28ad27d905b /tests/storage/test_devices.py
parentMerge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry (diff)
parentReplace `federation_reader` with `generic_worker` in docs (#12457) (diff)
downloadsynapse-github/dmr/pyproject-poetry.tar.xz
Merge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry github/dmr/pyproject-poetry dmr/pyproject-poetry
Diffstat (limited to 'tests/storage/test_devices.py')
-rw-r--r--tests/storage/test_devices.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/storage/test_devices.py b/tests/storage/test_devices.py

index 5491fbf6da..ccc3893869 100644 --- a/tests/storage/test_devices.py +++ b/tests/storage/test_devices.py
@@ -118,7 +118,7 @@ class DeviceStoreTestCase(HomeserverTestCase): device_ids = ["device_id1", "device_id2"] # Add two device updates with sequential `stream_id`s - self.add_device_change("user_id", device_ids, "somehost") + self.add_device_change("@user_id:test", device_ids, "somehost") # Get all device updates ever meant for this remote now_stream_id, device_updates = self.get_success( @@ -142,7 +142,7 @@ class DeviceStoreTestCase(HomeserverTestCase): "device_id4", "device_id5", ] - self.add_device_change("user_id", device_ids, "somehost") + self.add_device_change("@user_id:test", device_ids, "somehost") # Get device updates meant for this remote next_stream_id, device_updates = self.get_success( @@ -162,7 +162,7 @@ class DeviceStoreTestCase(HomeserverTestCase): # Add some more device updates to ensure it still resumes properly device_ids = ["device_id6", "device_id7"] - self.add_device_change("user_id", device_ids, "somehost") + self.add_device_change("@user_id:test", device_ids, "somehost") # Get the next batch of device updates next_stream_id, device_updates = self.get_success(