Skip to content

Commit

Permalink
Update smoke test for CLI
Browse files Browse the repository at this point in the history
Due to the change in the CLI interface and output
of the tool
  • Loading branch information
candleindark committed Sep 18, 2024
1 parent 00e0514 commit f1b73df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_cli/test__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"when there is an option in the app to limit the number of "
"dandisets to validate."
)
def test_smoke_cli(tmp_path):
validation_report_file_path = tmp_path / "validation_reports.json"
result = runner.invoke(app, ["--output-file", str(validation_report_file_path)])
def test_smoke_cli(monkeypatch, tmp_path):
monkeypatch.chdir(tmp_path)
result = runner.invoke(app)
assert result.exit_code == 0

0 comments on commit f1b73df

Please sign in to comment.