This commit is contained in:
+2
-2
@@ -128,10 +128,10 @@ def make_test_block(test, status, emoji, level, runtime_params):
|
||||
|
||||
skip_keys = {"nodeid", "global_number"}
|
||||
for phase in [k for k in test if isinstance(test[k], dict) and k not in skip_keys]:
|
||||
body += f"- **{phase.capitalize()} Phase**\n"
|
||||
body += f"**{phase.capitalize()} Phase**\n"
|
||||
for field, value in test[phase].items():
|
||||
block = stringify(value)
|
||||
body += f" **{field}:**\n\n```python\n{block}\n```\n\n"
|
||||
body += f"**{field}:**\n\n```python\n{block}\n```\n\n"
|
||||
|
||||
# Formatage final avec indentation cohérente
|
||||
body_content = "\n".join(f" {line}" for line in body.strip().splitlines())
|
||||
|
||||
Reference in New Issue
Block a user