From 10e174b94a1c5bb4a4413884cbdaced3d1327b33 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Fri, 21 Feb 2025 18:47:17 +0100 Subject: [PATCH] You need to seek apparently. --- integration-tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/conftest.py b/integration-tests/conftest.py index 8440df34..3bfd07dd 100644 --- a/integration-tests/conftest.py +++ b/integration-tests/conftest.py @@ -83,6 +83,7 @@ def container_log(request: SubRequest): print(error_log.read(), file=sys.stderr) else: error_log.truncate(0) + error_log.seek(0) class ResponseComparator(JSONSnapshotExtension):