mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 19:42:58 +00:00
Check base-notebook test logs for ERROR/WARNING
This commit is contained in:
@@ -29,6 +29,8 @@ def test_package_manager(container, package_manager, version_arg):
|
||||
rv = c.wait(timeout=5)
|
||||
logs = c.logs(stdout=True).decode("utf-8")
|
||||
LOGGER.debug(logs)
|
||||
assert "ERROR" not in logs
|
||||
assert "WARNING" not in logs
|
||||
assert (
|
||||
rv == 0 or rv["StatusCode"] == 0
|
||||
), f"Package manager {package_manager} not working"
|
||||
|
Reference in New Issue
Block a user