Skip to content

Commit

Permalink
Update tests/argparse/test_argparse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlvarezJarreta committed Sep 4, 2024
1 parent 1d69828 commit b983678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/argparse/test_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def test_add_argument_url(self) -> None:
"value, value_type, min_value, max_value, expectation",
[
param("3", int, None, None, does_not_raise(), id="Value has expected type"),
param("3", int, 3, 3, does_not_raise(), id="Value equal to minimum and maximum values"),
param("3.5", float, 3.4, 3.6, does_not_raise(), id="Value within range"),
param("3", int, 3, 2, raises(ArgumentError), id="Minimum value greater than maximum value"),
param("3.2", int, None, None, raises(SystemExit), id="Value has incorrect type"),
Expand Down

0 comments on commit b983678

Please sign in to comment.