Enable AWSLambda and STS mocking for AWS China regions/endpoints (#3574)

Fixes #3570
This commit is contained in:
Brian Pandola 2021-01-08 06:22:12 -08:00 committed by GitHub
commit d712a98ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View file

@ -1,6 +1,6 @@
from __future__ import unicode_literals
from .responses import TokenResponse
url_bases = ["https?://sts(.*).amazonaws.com"]
url_bases = ["https?://sts(.*).amazonaws.com(|.cn)"]
url_paths = {"{0}/$": TokenResponse.dispatch}