Skip to content

Commit

Permalink
added unit test for exiting when no arguments are used except 'orthos…
Browse files Browse the repository at this point in the history
…nap'
  • Loading branch information
JLSteenwyk committed Jul 26, 2022
1 parent fb58b5b commit 22ccc4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ def test_support(self, parser):
assert parsed.fasta == fasta
assert parsed.tree == tree
assert parsed.support == float(support)

def test_parser_when_no_args(self, parser):
with pytest.raises(SystemExit):
parser.parse_args([])

0 comments on commit 22ccc4b

Please sign in to comment.