2021-10-18 19:44:29 +00:00
|
|
|
import sure # noqa # pylint: disable=unused-import
|
2021-08-28 06:30:40 +00:00
|
|
|
|
|
|
|
import moto.server as server
|
|
|
|
from moto import mock_elastictranscoder
|
|
|
|
|
|
|
|
"""
|
|
|
|
Test the different server responses
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
@mock_elastictranscoder
|
|
|
|
def test_elastictranscoder_list():
|
|
|
|
backend = server.create_backend_app("elastictranscoder")
|
|
|
|
test_client = backend.test_client()
|
|
|
|
|
|
|
|
res = test_client.get("/2012-09-25/pipelines")
|
|
|
|
res.data.should.contain(b"Pipelines")
|