Improve test coverage

This commit is contained in:
Matthias
2020-10-28 16:29:08 +01:00
parent e1e2829ef3
commit ffa6797958
2 changed files with 7 additions and 0 deletions

View File

@@ -249,6 +249,9 @@ def test_check_int_positive() -> None:
with pytest.raises(argparse.ArgumentTypeError):
check_int_positive('0')
with pytest.raises(argparse.ArgumentTypeError):
check_int_positive(0)
with pytest.raises(argparse.ArgumentTypeError):
check_int_positive('3.5')