Skip to content

Commit

Permalink
ImageStage.check_timeout unit test: parameter for bool case
Browse files Browse the repository at this point in the history
  • Loading branch information
allenrobel committed Feb 22, 2024
1 parent ff3efe3 commit 40b3351
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ def test_image_upgrade_stage_00040(image_stage, arg, value, context) -> None:
@pytest.mark.parametrize(
"arg, value, context",
[
(True, None, pytest.raises(AnsibleFailJson, match=MATCH_00050)),
(-1, None, pytest.raises(AnsibleFailJson, match=MATCH_00050)),
(10, 10, does_not_raise()),
("a", None, pytest.raises(AnsibleFailJson, match=MATCH_00050)),
Expand Down

0 comments on commit 40b3351

Please sign in to comment.