Updated for black
This commit is contained in:
parent
0828c5af9d
commit
4a800d8f2c
@ -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…
Reference in New Issue
Block a user