clean up txt file after tests

This commit is contained in:
Jonathan Wren 2020-07-04 17:07:01 -07:00
parent 131477c7e3
commit 3c10766372
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -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):