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

12 lines
282 B
Python

import moto.server as server
def test_sesv2_list():
backend = server.create_backend_app("sesv2")
test_client = backend.test_client()
resp = test_client.get("/v2/email/contact-lists")
assert resp.status_code == 200
assert resp.data == b'{"ContactLists": []}'