mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-18 22:07:50 -04:00
Convert devices database to async/await. (#8069)
This commit is contained in:
parent
5dd73d029e
commit
5ecc8b5825
5 changed files with 220 additions and 176 deletions
|
@ -116,7 +116,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
|
|||
retry_timings_res
|
||||
)
|
||||
|
||||
self.datastore.get_device_updates_by_remote.return_value = defer.succeed(
|
||||
self.datastore.get_device_updates_by_remote.side_effect = lambda destination, from_stream_id, limit: make_awaitable(
|
||||
(0, [])
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue