Run black on moto & test directories.
This commit is contained in:
parent
c820395dbf
commit
96e5b1993d
507 changed files with 52541 additions and 47814 deletions
|
|
@ -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}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue