Skip to content

Commit

Permalink
ImageStage.check_interval unit test: parameter for bool case
Browse files Browse the repository at this point in the history
This brings us to 99% coverage for image_stage.py
  • Loading branch information
allenrobel committed Feb 21, 2024
1 parent ae0ed59 commit ff3efe3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ def mock_dcnm_send_switch_issu_details(*args) -> Dict[str, Any]:
@pytest.mark.parametrize(
"arg, value, context",
[
(True, None, pytest.raises(AnsibleFailJson, match=MATCH_00040)),
(-1, None, pytest.raises(AnsibleFailJson, match=MATCH_00040)),
(10, 10, does_not_raise()),
("a", None, pytest.raises(AnsibleFailJson, match=MATCH_00040)),
Expand Down

0 comments on commit ff3efe3

Please sign in to comment.