moto/tests/test_polly/test_server.py
2021-10-18 19:44:29 +00:00

18 lines
362 B
Python

import sure # noqa # pylint: disable=unused-import
import moto.server as server
from moto import mock_polly
"""
Test the different server responses
"""
@mock_polly
def test_polly_list():
backend = server.create_backend_app("polly")
test_client = backend.test_client()
res = test_client.get("/v1/lexicons")
res.status_code.should.equal(200)