mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 14:02:58 +00:00
Use formatted strings
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
This commit is contained in:
@@ -70,7 +70,7 @@ def test_start_notebook(
|
||||
# checking if the server is listening
|
||||
if expected_start:
|
||||
host_port = container.get_host_port("8888/tcp")
|
||||
resp = http_client.get("http://localhost:" + host_port)
|
||||
resp = http_client.get(f"http://localhost:{host_port}")
|
||||
assert resp.status_code == 200, "Server is not listening"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user