moto/tests/test_emrcontainers/test_server.py

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

15 lines
321 B
Python
Raw Normal View History

"""Test the different server responses."""
import json
2021-10-30 11:12:08 +00:00
import moto.server as server
def test_list_virtual_clusters():
backend = server.create_backend_app("emr-containers")
test_client = backend.test_client()
res = test_client.get("/virtualclusters")
assert "virtualClusters" in json.loads(res.data)