Update aut.py

This commit is contained in:
Anastasiya Semenkevich 2024-03-15 11:46:57 +03:00 committed by Anastasiya
parent e80774ccce
commit 7776869131
1 changed files with 1 additions and 0 deletions

View File

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