diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-20 11:43:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-20 11:43:24 +0000 |
commit | e944b767d7cffdb65c96863b1ebba2cceb6d3166 (patch) | |
tree | 9d684e2f0e4dce58e295a0623392a29a5bd4a5e2 /tests/utils.py | |
parent | Update CHANGES.rst with missing changes (diff) | |
parent | Always allow AS to register (diff) | |
download | synapse-e944b767d7cffdb65c96863b1ebba2cceb6d3166.tar.xz |
Merge pull request #84 from matrix-org/disable_registration
Disable Registration Config Option
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 1 |
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() |