moto/tests/test_emrserverless/test_server.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
323 B
Python
Raw Normal View History

"""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)