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

@@ -14,5 +14,7 @@ def test_pandoc(container):
)
c.wait(timeout=10)
logs = c.logs(stdout=True).decode("utf-8")
assert "ERROR" not in logs
assert "WARNING" not in logs
LOGGER.debug(logs)
assert "<p><strong>BOLD</strong></p>" in logs