Skip to content

Commit

Permalink
Trivial update
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed May 2, 2024
1 parent dcea06c commit 2db5134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def test_main(tmp_path: Path, capsys):
(inputdir / "plaintext.txt").write_text("hello ChRIS, I am a ChRIS plugin")

# simulate run of main function
options = parser.parse_args(["--version"])
options = parser.parse_args(["--man"])
main(options, inputdir, outputdir)

# assert behavior is expected
captured = capsys.readouterr()
assert "Version" in captured.out
assert "SYNOPSIS" in captured.out

0 comments on commit 2db5134

Please sign in to comment.