0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 20:23:52 +01:00
synapse/tests/config
Jason Robinson b9ce53e878
Fix synapse.config module "read" command (#11145)
`synapse.config.__main__` has the possibility to read a config item. This can be used to conveniently also validate the config is valid before trying to start Synapse.

 The "read" command broke in https://github.com/matrix-org/synapse/pull/10916 as it now requires passing in "server.server_name" for example.

 Also made the read command optional so one can just call this with just the confirm file reference and get a "Config parses OK" if things are ok.

Signed-off-by: Jason Robinson <jasonr@matrix.org>
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
2021-10-22 12:00:52 +02:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test___main__.py Fix synapse.config module "read" command (#11145) 2021-10-22 12:00:52 +02:00
test_base.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_cache.py Reset global cache state before cache tests. (#11036) 2021-10-12 12:55:33 +00:00
test_database.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_generate.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_load.py Fix synapse.config module "read" command (#11145) 2021-10-22 12:00:52 +02:00
test_ratelimiting.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
test_room_directory.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_server.py Add config option to use non-default manhole password and keys (#10643) 2021-09-06 16:08:03 +01:00
test_tls.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
test_util.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
utils.py Fix synapse.config module "read" command (#11145) 2021-10-22 12:00:52 +02:00