summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-24 11:34:45 +0100
committerGitHub <noreply@github.com>2019-06-24 11:34:45 +0100
commitc3c6b00d956937ad50673cec75eab7989938a39b (patch)
treebb60d510a3c0c95c678179559914c6f7c60c3821 /tests/utils.py
parentFactor acme bits out to a separate file (#5521) (diff)
downloadsynapse-c3c6b00d956937ad50673cec75eab7989938a39b.tar.xz
Pass config_dir_path and data_dir_path into Config.read_config. (#5522)
* Pull config_dir_path and data_dir_path calculation out of read_config_files

* Pass config_dir_path and data_dir_path into read_config
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index bd2c7c954c..da43166f3a 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -182,7 +182,7 @@ def default_config(name, parse=False):
 
     if parse:
         config = HomeServerConfig()
-        config.parse_config_dict(config_dict)
+        config.parse_config_dict(config_dict, "", "")
         return config
 
     return config_dict