6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Extend XML with title, description and notes

This commit is contained in:
Pavel Císař 2022-11-09 16:01:03 +01:00
parent 20a3036144
commit 211aca9d13

View File

@ -482,6 +482,9 @@ def pytest_collection_modifyitems(session, config, items):
item.user_properties.append(("id", item._qa_id_))
item.user_properties.append(("fbtest", item._qa_pytest_))
item.user_properties.append(("issue", item._qa_issue_))
item.user_properties.append(("title", item._qa_title_))
item.user_properties.append(("description", item._qa_description_))
item.user_properties.append(("notes", item._qa_notes_))
def substitute_macros(text: str, macros: Dict[str, str]):
"""Helper function to substitute `$(name)` macros in text.