moto/tests/test_polly/test_server.py

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

13 lines
303 B
Python
Raw Normal View History

"""Test the different server responses."""
2017-09-26 15:46:18 +00:00
import moto.server as server
from moto import mock_polly
2017-09-27 08:54:46 +00:00
2017-09-26 15:46:18 +00:00
@mock_polly
def test_polly_list():
backend = server.create_backend_app("polly")
test_client = backend.test_client()
2017-09-27 08:54:46 +00:00
res = test_client.get("/v1/lexicons")
assert res.status_code == 200