@@ -64,12 +64,12 @@ def test_default_config(tmpdir, tljh_dir):
64
64
65
65
def test_letsencrypt_config (tljh_dir ):
66
66
state_dir = config .STATE_DIR
67
- config .set_config_value (config .CONFIG_FILE , "https.enabled" , True , True )
67
+ config .set_config_value (config .CONFIG_FILE , "https.enabled" )
68
68
config .set_config_value (
69
- config .
CONFIG_FILE ,
"https.letsencrypt.email" ,
"[email protected] " , True
69
+ config .
CONFIG_FILE ,
"https.letsencrypt.email" ,
"[email protected] "
70
70
)
71
71
config .set_config_value (
72
- config .CONFIG_FILE , "https.letsencrypt.domains" , ["testing.jovyan.org" ], True
72
+ config .CONFIG_FILE , "https.letsencrypt.domains" , ["testing.jovyan.org" ]
73
73
)
74
74
traefik .ensure_traefik_config (str (state_dir ))
75
75
@@ -138,13 +138,9 @@ def test_letsencrypt_config(tljh_dir):
138
138
139
139
def test_manual_ssl_config (tljh_dir ):
140
140
state_dir = config .STATE_DIR
141
- config .set_config_value (config .CONFIG_FILE , "https.enabled" , True , True )
142
- config .set_config_value (
143
- config .CONFIG_FILE , "https.tls.key" , "/path/to/ssl.key" , True
144
- )
145
- config .set_config_value (
146
- config .CONFIG_FILE , "https.tls.cert" , "/path/to/ssl.cert" , True
147
- )
141
+ config .set_config_value (config .CONFIG_FILE , "https.enabled" , True )
142
+ config .set_config_value (config .CONFIG_FILE , "https.tls.key" , "/path/to/ssl.key" )
143
+ config .set_config_value (config .CONFIG_FILE , "https.tls.cert" , "/path/to/ssl.cert" )
148
144
traefik .ensure_traefik_config (str (state_dir ))
149
145
150
146
cfg = _read_static_config (state_dir )
@@ -248,16 +244,12 @@ def test_extra_config(tmpdir, tljh_dir):
248
244
249
245
def test_listen_address (tmpdir , tljh_dir ):
250
246
state_dir = config .STATE_DIR
251
- config .set_config_value (config .CONFIG_FILE , "https.enabled" , True , True )
252
- config .set_config_value (
253
- config .CONFIG_FILE , "https.tls.key" , "/path/to/ssl.key" , True
254
- )
255
- config .set_config_value (
256
- config .CONFIG_FILE , "https.tls.cert" , "/path/to/ssl.cert" , True
257
- )
247
+ config .set_config_value (config .CONFIG_FILE , "https.enabled" , True )
248
+ config .set_config_value (config .CONFIG_FILE , "https.tls.key" , "/path/to/ssl.key" )
249
+ config .set_config_value (config .CONFIG_FILE , "https.tls.cert" , "/path/to/ssl.cert" )
258
250
259
- config .set_config_value (config .CONFIG_FILE , "http.address" , "127.0.0.1" , True )
260
- config .set_config_value (config .CONFIG_FILE , "https.address" , "127.0.0.1" , True )
251
+ config .set_config_value (config .CONFIG_FILE , "http.address" , "127.0.0.1" )
252
+ config .set_config_value (config .CONFIG_FILE , "https.address" , "127.0.0.1" )
261
253
262
254
traefik .ensure_traefik_config (str (state_dir ))
263
255
0 commit comments