Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 51c3434

Browse files
author
David Robertson
committedDec 16, 2021
Fix olddeps?
1 parent e11e43c commit 51c3434

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎tests/handlers/test_e2e_keys.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,9 @@ def test_query_all_devices_caches_result(self, response_devices: List[JsonDict])
860860
# Pretend we're sharing a room with the user we're querying. If not,
861861
# `_query_devices_for_destination` will return early.
862862
mock_get_rooms = patch.object(
863-
self.store, "get_rooms_for_user", return_value=["some_room_id"]
863+
self.store,
864+
"get_rooms_for_user",
865+
return_value=defer.succeed(["some_room_id"]),
864866
)
865867
mock_request = patch.object(
866868
self.hs.get_federation_client(),

0 commit comments

Comments
 (0)
This repository has been archived.