Run black on moto & test directories.

This commit is contained in:
Asher Foa 2019-10-31 08:44:26 -07:00
commit 96e5b1993d
507 changed files with 52541 additions and 47814 deletions

View file

@ -6,9 +6,9 @@ import sure # noqa
import moto.server as server
from moto import mock_kms
'''
"""
Test the different server responses
'''
"""
@mock_kms
@ -16,10 +16,8 @@ def test_list_keys():
backend = server.create_backend_app("kms")
test_client = backend.test_client()
res = test_client.get('/?Action=ListKeys')
res = test_client.get("/?Action=ListKeys")
json.loads(res.data.decode("utf-8")).should.equal({
"Keys": [],
"NextMarker": None,
"Truncated": False,
})
json.loads(res.data.decode("utf-8")).should.equal(
{"Keys": [], "NextMarker": None, "Truncated": False}
)