summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-19 14:34:32 +0000
committerErik Johnston <erik@matrix.org>2015-02-19 14:34:32 +0000
commit5f4c28d313ce854e0ac943b100412878c4ef8dd9 (patch)
tree502ddb19354ce93f604be8d9d4330817065bf18f /tests/utils.py
parentDisable registration if config option was set. (diff)
downloadsynapse-5f4c28d313ce854e0ac943b100412878c4ef8dd9.tar.xz
Update tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 110b9f86b8..81e82a80df 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -42,6 +42,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
         config = Mock()
         config.signing_key = [MockKey()]
         config.event_cache_size = 1
+        config.disable_registration = False
 
     if datastore is None:
         db_pool = SQLiteMemoryDbPool()