diff options
author | Neil Johnson <neil@matrix.org> | 2018-08-16 17:02:04 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-08-16 17:02:04 +0100 |
commit | 3c1080b6e4a4d7c80d67bd9bee45d845aa145088 (patch) | |
tree | b0a8e34776648e8f620c509359bbb27ca8417359 /tests/server_notices | |
parent | add room tagging (diff) | |
download | synapse-3c1080b6e4a4d7c80d67bd9bee45d845aa145088.tar.xz |
refactor for readability, and reuse caching for setting tags
Diffstat (limited to 'tests/server_notices')
-rw-r--r-- | tests/server_notices/test_resource_limits_server_notices.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server_notices/test_resource_limits_server_notices.py b/tests/server_notices/test_resource_limits_server_notices.py index fb8c593a75..ccb69097b1 100644 --- a/tests/server_notices/test_resource_limits_server_notices.py +++ b/tests/server_notices/test_resource_limits_server_notices.py @@ -54,6 +54,7 @@ class TestResourceLimitsServerNotices(unittest.TestCase): self._rlsn._server_notices_manager.get_notice_room_for_user = Mock( returnValue="" ) + self._rlsn._store.add_tag_to_room = Mock() self.hs.config.admin_uri = "mailto:user@test.com" @defer.inlineCallbacks |