Skip to content

Commit

Permalink
rmtree after assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lostanlen committed Dec 6, 2018
1 parent 9712d8e commit 894d240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ def test_run(capsys):
string_input = FG_10SEC_PATH
tempdir = tempfile.mkdtemp()
run(string_input, output_dir=tempdir)
shutil.rmtree(tempdir)
csv_path = os.path.join(
tempdir, 'BirdVox-scaper_example_foreground_timestamps.csv')
assert os.path.exists(csv_path)
shutil.rmtree(tempdir)



Expand Down

0 comments on commit 894d240

Please sign in to comment.