moto/tests/test_elastictranscoder/test_server.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
336 B
Python
Raw Normal View History

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")
assert b"Pipelines" in res.data