moto/tests/test_polly/test_server.py
2024-01-27 19:38:09 +00:00

13 lines
299 B
Python

"""Test the different server responses."""
import moto.server as server
from moto import mock_aws
@mock_aws
def test_polly_list():
backend = server.create_backend_app("polly")
test_client = backend.test_client()
res = test_client.get("/v1/lexicons")
assert res.status_code == 200