Skip to content

Commit

Permalink
remove other files generated by unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Aug 15, 2024
1 parent 7f7b037 commit 8b41c28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fvsolver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ def test_solve() -> None:
assert test_output_dir_1.exists()
assert len(list(test_output_dir_1.iterdir())) > 0

# empty directory test_output_dir_1 and test_output_dir_2
for file in test_output_dir_1.iterdir() if test_output_dir_1.exists() else []:
file.unlink()
for file in test_output_dir_2.iterdir() if test_output_dir_2.exists() else []:
file.unlink()

print(f"retcode_1: {retcode_1}")

0 comments on commit 8b41c28

Please sign in to comment.