From 07c6bf165d0e414da3827c7b2aebf5044a7e6093 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 11 May 2021 15:30:12 +0100 Subject: [PATCH] Tests: temporary dir removed after tests execution. --- test/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/conftest.py b/test/conftest.py index a084953a..c2781571 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -671,4 +671,10 @@ def pytest_sessionfinish(session): option.restart = True unit_stop() + + public_dir(option.cache_dir) shutil.rmtree(option.cache_dir) + + if not option.save_log: + public_dir(option.temp_dir) + shutil.rmtree(option.temp_dir)