mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/fix_test_case_name_while_setup_v5.1' into 'release/v5.1'
ci: assign the test_case_name attribute to the case item while setting up a pytest session (v5.1) See merge request espressif/esp-idf!27668
This commit is contained in:
commit
ffeb545260
@ -306,6 +306,11 @@ def junit_properties(test_case_name: str, record_xml_attribute: Callable[[str, o
|
|||||||
record_xml_attribute('name', test_case_name)
|
record_xml_attribute('name', test_case_name)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(autouse=True)
|
||||||
|
def set_test_case_name(request: FixtureRequest, test_case_name: str) -> None:
|
||||||
|
request.node.funcargs['test_case_name'] = test_case_name
|
||||||
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Log Util Functions #
|
# Log Util Functions #
|
||||||
######################
|
######################
|
||||||
|
Loading…
Reference in New Issue
Block a user