diff options
Diffstat (limited to 'test/conftest.py')
-rw-r--r-- | test/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
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) |