Add test for roles
This commit is contained in:
parent
31258e9e9e
commit
9e9e37eb62
@ -477,6 +477,7 @@ class IAMBackend(BaseBackend):
|
|||||||
def update_role_description(self, role_name, role_description):
|
def update_role_description(self, role_name, role_description):
|
||||||
role = self.get_role(role_name)
|
role = self.get_role(role_name)
|
||||||
role.description = role_description
|
role.description = role_description
|
||||||
|
return role
|
||||||
|
|
||||||
def detach_role_policy(self, policy_arn, role_name):
|
def detach_role_policy(self, policy_arn, role_name):
|
||||||
arns = dict((p.arn, p) for p in self.managed_policies.values())
|
arns = dict((p.arn, p) for p in self.managed_policies.values())
|
||||||
|
Loading…
Reference in New Issue
Block a user