From 3d3373f4c571a881498efeacadb606314742bbc3 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 17 Jul 2025 10:52:07 +0200 Subject: [PATCH] Update conftest.py --- conftest.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conftest.py b/conftest.py index d8aaa031..19a051fc 100644 --- a/conftest.py +++ b/conftest.py @@ -54,7 +54,8 @@ def pytest_runtest_logreport(report): except Exception: pass -def pytest_unconfigure(config): +def pytest_sessionfinish(session, exitstatus): os.makedirs("ci-reports/markdown", exist_ok=True) - with open("ci-reports/markdown/_everything_pytest_saw.json", "w") as f: - json.dump(ALL_PYTEST_DATA, f, indent=2) + print("✅ Dumping runtime_params.json...") + with open("ci-reports/markdown/runtime_params.json", "w") as f: + json.dump(runtime_params, f, indent=2)