kopia lustrzana https://github.com/espressif/esp-idf
fix: junit report not merged in component ut
related github pr: https://github.com/espressif/pytest-embedded/pull/111 released in pytest-embedded 0.7.6pull/9491/head
rodzic
8def7b3e55
commit
377cd97f4d
16
conftest.py
16
conftest.py
|
@ -86,17 +86,15 @@ def get_target_marker(markexpr: str) -> str:
|
|||
############
|
||||
# Fixtures #
|
||||
############
|
||||
_TEST_SESSION_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
|
||||
_tmpdir = os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
'pytest_embedded_log',
|
||||
datetime.now().strftime('%Y-%m-%d_%H-%M-%S'),
|
||||
)
|
||||
os.makedirs(_tmpdir, exist_ok=True)
|
||||
return _tmpdir
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
|
|
Ładowanie…
Reference in New Issue