From 9633917aec064b0aef8624e900275ab55f4f2138 Mon Sep 17 00:00:00 2001 From: jakzo Date: Sun, 14 Jul 2019 16:37:54 +0000 Subject: [PATCH] Fix ID generation --- moto/apigateway/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moto/apigateway/utils.py b/moto/apigateway/utils.py index 6d1e6ef19..31f8060b0 100644 --- a/moto/apigateway/utils.py +++ b/moto/apigateway/utils.py @@ -1,9 +1,10 @@ from __future__ import unicode_literals import six import random +import string def create_id(): size = 10 - chars = list(range(10)) + ['A-Z'] + chars = list(range(10)) + list(string.ascii_lowercase) return ''.join(six.text_type(random.choice(chars)) for x in range(size))