diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-05-01 15:28:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 15:28:59 -0400 |
commit | 032e5a2acaa26511a00801eedd71e35d21c791fa (patch) | |
tree | a357ecdcbda7be98cac2086c28f01731c8c901e9 /tests | |
parent | Convert the synapse.notifier module to async/await. (#7395) (diff) | |
download | synapse-032e5a2acaa26511a00801eedd71e35d21c791fa.tar.xz |
Convert synapse.server_notices to async/await. (#7394)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server_notices/test_resource_limits_server_notices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_notices/test_resource_limits_server_notices.py b/tests/server_notices/test_resource_limits_server_notices.py index 987addad9b..406f29a7c0 100644 --- a/tests/server_notices/test_resource_limits_server_notices.py +++ b/tests/server_notices/test_resource_limits_server_notices.py @@ -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): |