Skip to content

Commit

Permalink
Merge pull request #6 from candleindark/update-test
Browse files Browse the repository at this point in the history
Update smoke test for CLI
  • Loading branch information
candleindark authored Sep 18, 2024
2 parents 00e0514 + f1b73df commit 31e0a53
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 31e0a53

Please sign in to comment.