diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-25 11:34:49 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-25 11:34:49 +0100 |
commit | 64c2cfda8a0ad9bc2aade76b10ce96c419922e82 (patch) | |
tree | 078e62c3d4955507a62a835b12eadf25d1148f0b /tests | |
parent | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into develop (diff) | |
parent | Merge pull request #6255 from matrix-org/erikj/stats_config (diff) | |
download | synapse-64c2cfda8a0ad9bc2aade76b10ce96c419922e82.tar.xz |
Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_stats.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_stats.py b/tests/handlers/test_stats.py index d5c8bd7612..e0075ccd32 100644 --- a/tests/handlers/test_stats.py +++ b/tests/handlers/test_stats.py @@ -607,6 +607,7 @@ class StatsRoomTests(unittest.HomeserverTestCase): """ self.hs.config.stats_enabled = False + self.handler.stats_enabled = False u1 = self.register_user("u1", "pass") u1token = self.login("u1", "pass") @@ -618,6 +619,7 @@ class StatsRoomTests(unittest.HomeserverTestCase): self.assertIsNone(self._get_current_stats("user", u1)) self.hs.config.stats_enabled = True + self.handler.stats_enabled = True self._perform_background_initial_update() |