This commit is contained in:
+6
-2
@@ -92,6 +92,7 @@ def make_test_block(test, status, emoji, level, runtime_params):
|
||||
param_display = ", ".join(f"{k}={sanitize_param_value(v)}" for k, v in params.items())
|
||||
summary_note += f" <span style='color: #888; font-size: 0.9em;'>params: {param_display}</span>"
|
||||
|
||||
# Bloc des paramètres
|
||||
if callspec:
|
||||
callspec_block = "```python\n" + stringify(callspec) + "\n```"
|
||||
body_test += get_details_block("📌 Runtime Parameters", callspec_block, level + 1)
|
||||
@@ -105,9 +106,12 @@ def make_test_block(test, status, emoji, level, runtime_params):
|
||||
details_body = "```python\n" + stringify(value) + "\n```" if value is not None else "None"
|
||||
phase_body += get_details_block(f"📌 {field.capitalize()}", details_body, level + 2)
|
||||
if phase_body:
|
||||
body_test += f"\n### 🔧 {phase.capitalize()} Phase\n\n" + phase_body
|
||||
body_test += get_details_block(f"🔧 {phase.capitalize()} Phase", phase_body, level + 1)
|
||||
|
||||
return get_details_block(summary_note, body_test, level)
|
||||
|
||||
|
||||
|
||||
return get_details_block(summary_note, body_test, level + 1)
|
||||
|
||||
def json_to_md_nested(json_path, md_path, runtime_params=None):
|
||||
with open(json_path) as f:
|
||||
|
||||
Reference in New Issue
Block a user