Improve test coverage
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user