Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Mar 30, 2024
1 parent 296101d commit bacd1d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def test_evaluate_script(tmp_path, fake_checkpoint_dir, monkeypatch):
module.convert_and_evaluate(**fn_kwargs)


@pytest.mark.parametrize("mode", ["file", "entrypoint"])
def test_cli():
cli_path = Path(__file__).parent.parent / "eval" / "evaluate.py"
output = subprocess.check_output([sys.executable, cli_path, f"--checkpoint_dir {fake_checkpoint_dir}", "-h"])
Expand Down

0 comments on commit bacd1d6

Please sign in to comment.