mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-04 19:48:49 -04:00
Convert synapse.server_notices to async/await. (#7394)
This commit is contained in:
parent
b0cbc57375
commit
032e5a2aca
3 changed files with 8 additions and 11 deletions
|
@ -67,7 +67,7 @@ class TestResourceLimitsServerNotices(unittest.HomeserverTestCase):
|
|||
return_value=defer.succeed("!something:localhost")
|
||||
)
|
||||
self._rlsn._store.add_tag_to_room = Mock(return_value=defer.succeed(None))
|
||||
self._rlsn._store.get_tags_for_room = Mock(return_value={})
|
||||
self._rlsn._store.get_tags_for_room = Mock(return_value=defer.succeed({}))
|
||||
self.hs.config.admin_contact = "mailto:user@test.com"
|
||||
|
||||
def test_maybe_send_server_notice_to_user_flag_off(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue