Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusvniekerk authored Dec 2, 2020
1 parent f1b6d10 commit 99781df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def test__parse_args__from():
tag_dir="tags",
debug=False,
bump=False,
tagged_metadata=False,
)
assert parse_args(["from", "git"]).vcs == "git"
assert parse_args(["from", "mercurial"]).vcs == "mercurial"
Expand All @@ -37,6 +38,7 @@ def test__parse_args__from():
assert parse_args(["from", "any", "--latest-tag"]).latest_tag is True
assert parse_args(["from", "any", "--tag-dir", "foo"]).tag_dir == "foo"
assert parse_args(["from", "any", "--debug"]).debug is True
assert parse_args(["from", "any", "--tagged-metadata"]).tagged_metadata is True
assert parse_args(["from", "subversion", "--tag-dir", "foo"]).tag_dir == "foo"

with pytest.raises(SystemExit):
Expand Down

0 comments on commit 99781df

Please sign in to comment.