From 0e73cddf2fb8039e056b4b67a6948f8c4eefcae9 Mon Sep 17 00:00:00 2001 From: William Rubel Date: Sun, 17 Feb 2019 16:25:49 -0600 Subject: [PATCH] Add test for roles --- tests/test_iam/test_iam.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_iam/test_iam.py b/tests/test_iam/test_iam.py index f728f0dca..be25c2e96 100644 --- a/tests/test_iam/test_iam.py +++ b/tests/test_iam/test_iam.py @@ -1174,7 +1174,6 @@ def test_update_role(): conn.create_role(RoleName="my-role", AssumeRolePolicyDocument="some policy", Path="/my-path/") response = conn.update_role_description(RoleName="my-role", Description="test") - assert response['Role']['RoleName'] == 'my-role' @mock_iam() @@ -1192,5 +1191,4 @@ def test_list_entities_for_policy(): response = conn.list_entities_for_policy( PolicyArn=arn ) - assert response['PolicyGroups'][0]['GroupName'] == 'Dev'