From 1486f90077a05273d61b2f2ef039cc1f77dc1688 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 11 Dec 2021 23:27:57 +0100 Subject: [PATCH] tests/e2e: cleanup output from e2e containers Signed-off-by: Jens Langhammer --- tests/e2e/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/utils.py b/tests/e2e/utils.py index ed705d70a..7c61a6218 100644 --- a/tests/e2e/utils.py +++ b/tests/e2e/utils.py @@ -93,10 +93,10 @@ class SeleniumTestCase(StaticLiveServerTestCase): def output_container_logs(self, container: Optional[Container] = None): """Output the container logs to our STDOUT""" _container = container or self.container - self.logger.debug("--------container logs", container=_container.image.tags[0]) + print(f"--------container logs {_container.image.tags[0]}") for log in _container.logs().decode().split("\n"): - self.logger.debug(log, container=_container.image.tags[0]) - self.logger.debug("--------end container logs", container=_container.image.tags[0]) + print(log) + print(f"--------end container logs {_container.image.tags[0]}") def get_container_specs(self) -> Optional[dict[str, Any]]: """Optionally get container specs which will launched on setup, wait for the container to