mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 03:44:56 -04:00
Add config option to use non-default manhole password and keys (#10643)
This commit is contained in:
parent
b298de780a
commit
6e895366ea
9 changed files with 161 additions and 17 deletions
|
@ -35,7 +35,7 @@ class ServerConfigTestCase(unittest.TestCase):
|
|||
def test_unsecure_listener_no_listeners_open_private_ports_false(self):
|
||||
conf = yaml.safe_load(
|
||||
ServerConfig().generate_config_section(
|
||||
"che.org", "/data_dir_path", False, None
|
||||
"che.org", "/data_dir_path", False, None, config_dir_path="CONFDIR"
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -55,7 +55,7 @@ class ServerConfigTestCase(unittest.TestCase):
|
|||
def test_unsecure_listener_no_listeners_open_private_ports_true(self):
|
||||
conf = yaml.safe_load(
|
||||
ServerConfig().generate_config_section(
|
||||
"che.org", "/data_dir_path", True, None
|
||||
"che.org", "/data_dir_path", True, None, config_dir_path="CONFDIR"
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -89,7 +89,7 @@ class ServerConfigTestCase(unittest.TestCase):
|
|||
|
||||
conf = yaml.safe_load(
|
||||
ServerConfig().generate_config_section(
|
||||
"this.one.listens", "/data_dir_path", True, listeners
|
||||
"this.one.listens", "/data_dir_path", True, listeners, "CONFDIR"
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -123,7 +123,7 @@ class ServerConfigTestCase(unittest.TestCase):
|
|||
|
||||
conf = yaml.safe_load(
|
||||
ServerConfig().generate_config_section(
|
||||
"this.one.listens", "/data_dir_path", True, listeners
|
||||
"this.one.listens", "/data_dir_path", True, listeners, "CONFDIR"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue