Add test for roles

This commit is contained in:
William Rubel 2019-02-17 15:35:49 -06:00
parent 31258e9e9e
commit 9e9e37eb62

View File

@ -477,6 +477,7 @@ class IAMBackend(BaseBackend):
def update_role_description(self, role_name, role_description):
role = self.get_role(role_name)
role.description = role_description
return role
def detach_role_policy(self, policy_arn, role_name):
arns = dict((p.arn, p) for p in self.managed_policies.values())