Skip to content

Commit

Permalink
fix(tests): clean up temporary file created by unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jan 30, 2025
1 parent 8f9a7e3 commit e08bb59
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions everyvoice/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,9 @@ def test_evaluate(self):
dir_result.stdout,
"should report metrics in terms of averages",
)
self.assertTrue(
(self.data_dir / "lj" / "wavs" / "evaluation.json").exists(),
"should print out results to a file",
)
evaluation_output = self.data_dir / "lj" / "wavs" / "evaluation.json"
self.assertTrue(evaluation_output.exists(), "should print results to a file")
evaluation_output.unlink()

def test_inspect_checkpoint_help(self):
with silence_c_stderr():
Expand Down

0 comments on commit e08bb59

Please sign in to comment.