File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 24
24
# We always launch a jupyter subcommand from this script
25
25
command .append ("jupyter" )
26
26
27
- # Launch the configured subcommand. Note that this should be a single string, so we don't split it
28
- # We default to lab
27
+ # Launch the configured subcommand.
28
+ # Note that this should be a single string, so we don't split it.
29
+ # We default to `lab`.
29
30
jupyter_command = os .environ .get ("DOCKER_STACKS_JUPYTER_CMD" , "lab" )
30
31
command .append (jupyter_command )
31
32
32
- # Append any optional NOTEBOOK_ARGS we were passed in. This is supposed to be multiple args passed
33
- # on to the notebook command, so we split it correctly with shlex
33
+ # Append any optional NOTEBOOK_ARGS we were passed in.
34
+ # This is supposed to be multiple args passed on to the notebook command,
35
+ # so we split it correctly with shlex
34
36
if "NOTEBOOK_ARGS" in os .environ :
35
37
command += shlex .split (os .environ ["NOTEBOOK_ARGS" ])
36
38
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ def test_unsigned_ssl(
65
65
environment = ["GEN_CERT=yes" ],
66
66
ports = {"8888/tcp" : host_port },
67
67
)
68
- # NOTE: The requests.Session backing the http_client fixture does not retry
69
- # properly while the server is booting up. An SSL handshake error seems to
70
- # abort the retry logic. Forcing a long sleep for the moment until I have
71
- # time to dig more.
68
+ # NOTE: The requests.Session backing the http_client fixture
69
+ # does not retry properly while the server is booting up.
70
+ # An SSL handshake error seems to abort the retry logic.
71
+ # Forcing a long sleep for the moment until I have time to dig more.
72
72
time .sleep (1 )
73
73
resp = http_client .get (f"https://localhost:{ host_port } " , verify = False )
74
74
resp .raise_for_status ()
You can’t perform that action at this time.
0 commit comments