moto/tests/test_dax/test_server.py

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

16 lines
436 B
Python
Raw Normal View History

2021-12-27 20:15:37 +00:00
import json
import sure # noqa # pylint: disable=unused-import
import moto.server as server
def test_dax_list():
backend = server.create_backend_app("dax")
test_client = backend.test_client()
resp = test_client.post(
"/", headers={"X-Amz-Target": "AmazonDAXV3.DescribeClusters"}, data="{}"
)
resp.status_code.should.equal(200)
json.loads(resp.data).should.equal({"Clusters": [], "NextToken": None})