Updated for black
This commit is contained in:
parent
0828c5af9d
commit
4a800d8f2c
1 changed files with 2 additions and 4 deletions
|
|
@ -73,11 +73,9 @@ def test_create_rest_api_with_tags():
|
||||||
def test_create_rest_api_with_policy():
|
def test_create_rest_api_with_policy():
|
||||||
client = boto3.client("apigateway", region_name="us-west-2")
|
client = boto3.client("apigateway", region_name="us-west-2")
|
||||||
|
|
||||||
policy = "{\"Version\": \"2012-10-17\",\"Statement\": []}"
|
policy = '{"Version": "2012-10-17","Statement": []}'
|
||||||
response = client.create_rest_api(
|
response = client.create_rest_api(
|
||||||
name="my_api",
|
name="my_api", description="this is my api", policy=policy
|
||||||
description="this is my api",
|
|
||||||
policy=policy
|
|
||||||
)
|
)
|
||||||
api_id = response["id"]
|
api_id = response["id"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue