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.6
pull/9491/head
Fu Hanxi 2022-07-25 10:52:54 +08:00
rodzic 8def7b3e55
commit 377cd97f4d
1 zmienionych plików z 7 dodań i 9 usunięć

Wyświetl plik

@ -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()