2022-06-28 11:33:00 +00:00
|
|
|
"""Test different server responses."""
|
2024-03-21 20:17:29 +00:00
|
|
|
|
2022-06-28 11:33:00 +00:00
|
|
|
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")
|
2023-08-15 08:05:53 +00:00
|
|
|
assert resp.status_code == 200
|
|
|
|
assert "applications" in str(resp.data)
|