Skip to content

Commit 72f614f

Browse files
authored
fix: Clean temp test directory (#181)
1 parent 80c95d2 commit 72f614f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/utils/test_usage_tracker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
@fixture(scope="module", autouse=True)
2121
def create_cli_mock():
22+
# Cleanup before starting
23+
rmtree(TEST_FOLDER, ignore_errors=True)
2224
for i, file in enumerate(MOCK_MODULES):
2325
os.makedirs(os.path.dirname(f"{TEST_FOLDER}{file}"))
2426
with open(f"{TEST_FOLDER}{file}", "w") as f:

0 commit comments

Comments
 (0)