*: cleanup stray print calls

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-09-10 13:24:53 +02:00
parent 28835fbca7
commit 2e2ab55f9e
4 changed files with 3 additions and 6 deletions

View File

@ -90,10 +90,8 @@ class SeleniumTestCase(StaticLiveServerTestCase):
def output_container_logs(self, container: Optional[Container] = None):
"""Output the container logs to our STDOUT"""
_container = container or self.container
print(f"--------container logs {_container.image.tags[0]}")
for log in _container.logs().decode().split("\n"):
print(log)
print(f"--------end container logs {_container.image.tags[0]}")
self.logger.info(log, source="container", container=_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