Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix olddeps?
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Dec 16, 2021
1 parent e11e43c commit 51c3434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/handlers/test_e2e_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,9 @@ def test_query_all_devices_caches_result(self, response_devices: List[JsonDict])
# Pretend we're sharing a room with the user we're querying. If not,
# `_query_devices_for_destination` will return early.
mock_get_rooms = patch.object(
self.store, "get_rooms_for_user", return_value=["some_room_id"]
self.store,
"get_rooms_for_user",
return_value=defer.succeed(["some_room_id"]),
)
mock_request = patch.object(
self.hs.get_federation_client(),
Expand Down

0 comments on commit 51c3434

Please sign in to comment.