summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-22 17:48:53 +0100
committerErik Johnston <erik@matrix.org>2017-05-22 17:48:58 +0100
commit11c2a3655f14550193adb0360e5df62cc7274b9a (patch)
tree1b6d83e450732d91a3a2207354f0c3828669194f /tests
parentMerge pull request #2241 from matrix-org/erikj/fix_notifs (diff)
downloadsynapse-11c2a3655f14550193adb0360e5df62cc7274b9a.tar.xz
Only load jinja2 templates once
Instead of every time a new email pusher is created, as loading jinja2
templates is slow.
Diffstat (limited to '')
-rw-r--r--tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index d3d6c8021d..4f7e32b3ab 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -55,6 +55,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
         config.password_providers = []
         config.worker_replication_url = ""
         config.worker_app = None
+        config.email_enable_notifs = False
 
     config.use_frozen_dicts = True
     config.database_config = {"name": "sqlite3"}