2021-08-28 06:30:40 +00:00
|
|
|
import moto.server as server
|
2024-01-07 12:03:33 +00:00
|
|
|
from moto import mock_aws
|
2021-08-28 06:30:40 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
Test the different server responses
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2024-01-07 12:03:33 +00:00
|
|
|
@mock_aws
|
2021-08-28 06:30:40 +00:00
|
|
|
def test_elastictranscoder_list():
|
|
|
|
backend = server.create_backend_app("elastictranscoder")
|
|
|
|
test_client = backend.test_client()
|
|
|
|
|
|
|
|
res = test_client.get("/2012-09-25/pipelines")
|
2023-07-20 09:37:28 +00:00
|
|
|
assert b"Pipelines" in res.data
|