Skip to content

Commit edd0bf7

Browse files
committed
Log before assert
1 parent 8958ba7 commit edd0bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base-notebook/test/test_container_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def test_cli_args(container, http_client):
1515
resp = http_client.get("http://localhost:8888")
1616
resp.raise_for_status()
1717
logs = c.logs(stdout=True).decode("utf-8")
18+
LOGGER.debug(logs)
1819
assert "ERROR" not in logs
1920
warnings = [
2021
warning for warning in logs.split("\n") if warning.startswith("WARNING")
2122
]
22-
LOGGER.debug(logs)
2323
assert len(warnings) == 1
2424
assert warnings[0].startswith("WARNING: Jupyter Notebook deprecation notice")
2525
assert "login_submit" not in resp.text

0 commit comments

Comments
 (0)