Linting
This commit is contained in:
parent
7d43a1d23d
commit
6ab2f58b21
2 changed files with 7 additions and 3 deletions
|
|
@ -418,7 +418,7 @@ class ServerModeMockAWS(BaseMockAWS):
|
|||
|
||||
def fake_boto3_client(*args, **kwargs):
|
||||
service, region = args
|
||||
kwargs["config"] = Config(user_agent_extra="region/"+region)
|
||||
kwargs["config"] = Config(user_agent_extra="region/" + region)
|
||||
if "endpoint_url" not in kwargs:
|
||||
kwargs["endpoint_url"] = "http://localhost:5000"
|
||||
return real_boto3_client(*args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue