moto/tests/test_emrserverless/test_server.py

12 lines
323 B
Python

"""Test different server responses."""
import moto.server as server
def test_emrserverless_list():
backend = server.create_backend_app("emr-serverless")
test_client = backend.test_client()
resp = test_client.get("/applications")
assert resp.status_code == 200
assert "applications" in str(resp.data)