diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-25 10:57:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-25 10:57:37 +0100 |
commit | 7e7a1461f64888fa71c8f06fb12f29cc3d233179 (patch) | |
tree | 192a9e7934b109658ebe8d97aae573f7b92cc632 /tests | |
parent | Newsfile (diff) | |
download | synapse-7e7a1461f64888fa71c8f06fb12f29cc3d233179.tar.xz |
Fix tests
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() |