mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/missing_component_ut_junit_report' into 'master'
CI: junit report not merged in component ut Closes IDFCI-1388 See merge request espressif/esp-idf!19207
This commit is contained in:
commit
51d6f9c885
12
conftest.py
12
conftest.py
@ -86,17 +86,15 @@ def get_target_marker(markexpr: str) -> str:
|
||||
############
|
||||
# Fixtures #
|
||||
############
|
||||
_TEST_SESSION_TMPDIR = os.path.join(
|
||||
@pytest.fixture(scope='session', autouse=True)
|
||||
def session_tempdir() -> str:
|
||||
_tmpdir = os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
'pytest_embedded_log',
|
||||
datetime.now().strftime('%Y-%m-%d_%H-%M-%S'),
|
||||
)
|
||||
os.makedirs(_TEST_SESSION_TMPDIR, exist_ok=True)
|
||||
|
||||
|
||||
@pytest.fixture(scope='session', autouse=True)
|
||||
def session_tempdir() -> str:
|
||||
return _TEST_SESSION_TMPDIR
|
||||
os.makedirs(_tmpdir, exist_ok=True)
|
||||
return _tmpdir
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
|
Loading…
Reference in New Issue
Block a user