Skip to content

Commit

Permalink
coverage for list-not-conda-package
Browse files Browse the repository at this point in the history
  • Loading branch information
dholth committed May 24, 2024
1 parent cb1ffd9 commit c879b00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ def test_list(artifact, n_files, capsys):
cli.main(["list", os.path.join(data_dir, artifact)])
stdout, stderr = capsys.readouterr()
assert n_files == sum(bool(line.strip()) for line in stdout.splitlines())

with pytest.raises(ValueError):
cli.main(["list", "setup.py"])

0 comments on commit c879b00

Please sign in to comment.