Add test for roles

This commit is contained in:
William Rubel 2019-02-17 16:25:49 -06:00
parent 6e7bd088b3
commit 0e73cddf2f

View File

@ -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'