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_datapipeline
|
||||
|
||||
'''
|
||||
"""
|
||||
Test the different server responses
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
@mock_datapipeline
|
||||
|
|
@ -16,13 +16,11 @@ def test_list_streams():
|
|||
backend = server.create_backend_app("datapipeline")
|
||||
test_client = backend.test_client()
|
||||
|
||||
res = test_client.post('/',
|
||||
data={"pipelineIds": ["ASdf"]},
|
||||
headers={
|
||||
"X-Amz-Target": "DataPipeline.DescribePipelines"},
|
||||
)
|
||||
res = test_client.post(
|
||||
"/",
|
||||
data={"pipelineIds": ["ASdf"]},
|
||||
headers={"X-Amz-Target": "DataPipeline.DescribePipelines"},
|
||||
)
|
||||
|
||||
json_data = json.loads(res.data.decode("utf-8"))
|
||||
json_data.should.equal({
|
||||
'pipelineDescriptionList': []
|
||||
})
|
||||
json_data.should.equal({"pipelineDescriptionList": []})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue