From 1e54560e126d5aa4efddf9c742d4bd2e3b506153 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 21 Jul 2025 10:58:23 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/json_to_md.py b/json_to_md.py index 4be2fa9d..8452cafd 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -295,8 +295,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path, exit_code): "✅ **Pytest completed successfully**\n\n" "> All tests were collected and executed properly. See the details below.\n\n" ) - - if exit_code == 2: + elif exit_code == 2: banner = ( "⚠️ **Test execution interrupted**\n\n" "> The test run was interrupted by the user (reasons : KeyboardInterrupt or ...).\n\n"