From 24bbd84d53f9f9af27fa6aa9e4ac2eb765e5df25 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Tue, 15 Jul 2025 10:32:02 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/json_to_md.py b/json_to_md.py index 130e8fce..ac1e7b68 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -248,7 +248,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path): if exit_code == 2: banner = ( "⚠️ **Test execution interrupted**\n\n" - "> The test run was manually interrupted (e.g. via Ctrl+C).\n\n" + "> The test run was interrupted by the user (reasons : KeyboardInterrupt, ...).\n\n" ) elif exit_code == 3: banner = ( @@ -262,7 +262,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path): ) elif exit_code == 5: banner = ( - "ℹ️ **No tests were collected**\n\n" + "❗ **No tests were collected**\n\n" "> Pytest did not find any tests to run.\n\n" ) else: @@ -300,7 +300,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path): "
\n📋 Short test summary info\n\n" + "```\n" + "".join(short_summary_lines) + "```\n
\n\n" + "
\n🪵 Full raw pytest log\n\n" + - "```\n" + "".join(log_lines[-500:]) + "```\n
\n\n" + + "```\n" + "".join(log_lines) + "```\n\n\n" + "---\n\n" )