diff --git a/tests/unit/plugins/modules/iam_role_info/test_iam_role_info.py b/tests/unit/plugins/modules/iam_role_info/test_iam_role_info.py index 81d71b1..4fb9e90 100644 --- a/tests/unit/plugins/modules/iam_role_info/test_iam_role_info.py +++ b/tests/unit/plugins/modules/iam_role_info/test_iam_role_info.py @@ -24,12 +24,14 @@ setup_module_args, ) + def test_get_single_role_details(): setup_module_args({"name": "crn:iam:us-west-1:role:ClassicClustersCreator"}) with pytest.raises(AnsibleExitJson) as e: iam_role_info.main() + def test_get_multiple_role_details(): setup_module_args( @@ -44,6 +46,7 @@ def test_get_multiple_role_details(): with pytest.raises(AnsibleExitJson) as e: iam_role_info.main() + def test_get_all_role_details(): setup_module_args({})