Skip to content

Commit

Permalink
test(cli train): add assertion that checkpoints exist
Browse files Browse the repository at this point in the history
  • Loading branch information
melisande-c committed Jun 5, 2024
1 parent 9c2dfdd commit 4418423
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cli/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def test_train(tmp_path: Path, minimum_configuration: dict):
str(tmp_path),
],
)
assert (tmp_path/"checkpoints").is_dir()
assert len(list((tmp_path/"checkpoints").glob("*"))) > 0
assert result.exit_code == 0


Expand Down

0 comments on commit 4418423

Please sign in to comment.