14 lines
322 B
Python
14 lines
322 B
Python
|
"""Test different server responses."""
|
||
|
|
||
|
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": []}'
|