From cb68204994bf0aea93b35aebd5159949518a76f0 Mon Sep 17 00:00:00 2001 From: Antonin Date: Tue, 18 Feb 2020 10:50:24 +0100 Subject: [PATCH] lint --- moto/cognitoidp/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moto/cognitoidp/models.py b/moto/cognitoidp/models.py index 810077faf..2f2f7e870 100644 --- a/moto/cognitoidp/models.py +++ b/moto/cognitoidp/models.py @@ -564,7 +564,9 @@ class CognitoIdpBackend(BaseBackend): user.groups.discard(group) # User - def admin_create_user(self, user_pool_id, username, message_action, temporary_password, attributes): + def admin_create_user( + self, user_pool_id, username, message_action, temporary_password, attributes + ): user_pool = self.user_pools.get(user_pool_id) if not user_pool: raise ResourceNotFoundError(user_pool_id)