From 9e9e37eb622fd29fa662eaf27b95355515586c9b Mon Sep 17 00:00:00 2001 From: William Rubel Date: Sun, 17 Feb 2019 15:35:49 -0600 Subject: [PATCH] Add test for roles --- moto/iam/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/iam/models.py b/moto/iam/models.py index e0f725299..f71ad5352 100644 --- a/moto/iam/models.py +++ b/moto/iam/models.py @@ -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())