fix lint errors

This commit is contained in:
Jovan Zivanov 2019-11-27 16:12:30 +01:00
parent 5260de8859
commit a28183d150
2 changed files with 6 additions and 2 deletions

View File

@ -9,7 +9,7 @@ from .exceptions import (
BadRequestException, BadRequestException,
CrossAccountNotAllowed, CrossAccountNotAllowed,
StageNotFoundException, StageNotFoundException,
ApiKeyAlreadyExists ApiKeyAlreadyExists,
) )

View File

@ -1156,7 +1156,11 @@ def test_api_keys():
apikey_value = "12345" apikey_value = "12345"
apikey_name = "TESTKEY1" apikey_name = "TESTKEY1"
payload = {"value": apikey_value, "name": apikey_name, "tags": {"tag1": "test_tag1", "tag2": "1"}} payload = {
"value": apikey_value,
"name": apikey_name,
"tags": {"tag1": "test_tag1", "tag2": "1"},
}
response = client.create_api_key(**payload) response = client.create_api_key(**payload)
apikey_id = response["id"] apikey_id = response["id"]
apikey = client.get_api_key(apiKey=response["id"]) apikey = client.get_api_key(apiKey=response["id"])