moto/tests/test_sdb/test_server.py

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

13 lines
325 B
Python
Raw Normal View History

import moto.server as server
2024-01-07 12:03:33 +00:00
from moto import mock_aws
2024-01-07 12:03:33 +00:00
@mock_aws
def test_sdb_list():
backend = server.create_backend_app("sdb")
test_client = backend.test_client()
resp = test_client.post("/", data={"Action": "ListDomains"})
assert resp.status_code == 200
assert "ListDomainsResult" in str(resp.data)