This commit is contained in:
+3
-3
@@ -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):
|
||||
"<details>\n<summary>📋 Short test summary info</summary>\n\n" +
|
||||
"```\n" + "".join(short_summary_lines) + "```\n</details>\n\n" +
|
||||
"<details>\n<summary>🪵 Full raw pytest log</summary>\n\n" +
|
||||
"```\n" + "".join(log_lines[-500:]) + "```\n</details>\n\n" +
|
||||
"```\n" + "".join(log_lines) + "```\n</details>\n\n" +
|
||||
"---\n\n"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user