mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
clean up txt file after tests
This commit is contained in:
parent
131477c7e3
commit
3c10766372
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ CWD = os.getcwd()
|
||||||
|
|
||||||
|
|
||||||
def clean_all_working_dirs():
|
def clean_all_working_dirs():
|
||||||
|
if os.path.exists("test.txt"):
|
||||||
|
os.remove("test.txt")
|
||||||
for folder in ("configs", "journals", "cache"):
|
for folder in ("configs", "journals", "cache"):
|
||||||
working_dir = os.path.join("features", folder)
|
working_dir = os.path.join("features", folder)
|
||||||
if os.path.exists(working_dir):
|
if os.path.exists(working_dir):
|
||||||
|
|
Loading…
Add table
Reference in a new issue