chore: do not remove logs after run

This commit is contained in:
Anastasiya Semenkevich 2024-03-06 15:48:31 +03:00 committed by Anastasiya
parent 4dc232e9d0
commit 40530954db
2 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,7 @@ assert SQUISH_DIR_RAW is not None
SQUISH_DIR = SystemPath(SQUISH_DIR_RAW)
# Status Application
STATUS_DATA: SystemPath = RUN / 'status'
STATUS_DATA: SystemPath = RUN
# Sets log level, can be one of: "ERROR", "WARN", "INFO", "DEBUG", "TRACE". "INFO"
LOG_LEVEL = 'DEBUG'

View File

@ -26,7 +26,6 @@ def application_logs():
for app_data in configs.testpath.STATUS_DATA.iterdir():
for log in (app_data / 'logs').iterdir():
allure.attach.file(log, name=str(log.name), attachment_type=allure.attachment_type.TEXT)
log.unlink()
@pytest.fixture