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 4d3833a..81d71b1 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 @@ -25,17 +25,21 @@ ) def test_get_single_role_details(): - setup_module_args({ - "name": "crn:iam:us-west-1:role:ClassicClustersCreator" - }) + 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({ - "name": ["crn:iam:us-west-1:role:ClassicClustersCreator","crn:iam:us-west-1:role:EnvironmentCreator"] - }) + + setup_module_args( + { + "name": [ + "crn:iam:us-west-1:role:ClassicClustersCreator", + "crn:iam:us-west-1:role:EnvironmentCreator", + ] + } + ) with pytest.raises(AnsibleExitJson) as e: iam_role_info.main()