Check base-notebook test logs for ERROR/WARNING

This commit is contained in:
Ben Mares
2021-12-11 16:48:19 +01:00
parent b4aab84201
commit 709206ac87
5 changed files with 57 additions and 2 deletions

View File

@@ -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"