We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a0696 commit a8aac34Copy full SHA for a8aac34
src/pytest_tap/plugin.py
@@ -217,10 +217,9 @@ def _make_as_raw_yaml_block(report):
217
except AttributeError:
218
lines = report.longreprtext.splitlines(keepends=True)
219
user_properties = getattr(report, "user_properties", [])
220
- return f"""\
+ return f"""{"\n".join(f"{k}: {v}" for k, v in user_properties)}\
221
message: |
222
{"".join(f" {line}" for line in lines)}
223
severity: {report.outcome}
224
duration_ms: {report.duration * 1000}
225
-{"\n".join(f"{k}: {v}" for k, v in user_properties) if user_properties else ""}
226
"""
0 commit comments