diff --git a/tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade_image_stage.py b/tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade_image_stage.py index bb85fb508..f40c02d43 100644 --- a/tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade_image_stage.py +++ b/tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade_image_stage.py @@ -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)),