Skip to content

Commit

Permalink
fix: Clean temp test directory (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin authored Jun 24, 2022
1 parent 80c95d2 commit 72f614f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/utils/test_usage_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

@fixture(scope="module", autouse=True)
def create_cli_mock():
# Cleanup before starting
rmtree(TEST_FOLDER, ignore_errors=True)
for i, file in enumerate(MOCK_MODULES):
os.makedirs(os.path.dirname(f"{TEST_FOLDER}{file}"))
with open(f"{TEST_FOLDER}{file}", "w") as f:
Expand Down

0 comments on commit 72f614f

Please sign in to comment.