moto/tests/test_rds/test_server.py

12 lines
332 B
Python
Raw Normal View History

2015-01-09 03:18:06 +00:00
import moto.server as server
2022-03-09 11:05:18 +00:00
import sure # noqa # pylint: disable=unused-import
2015-01-09 03:18:06 +00:00
def test_list_databases():
backend = server.create_backend_app("rds")
test_client = backend.test_client()
2019-10-31 15:44:26 +00:00
res = test_client.get("/?Action=DescribeDBInstances")
2015-01-09 03:18:06 +00:00
res.data.decode("utf-8").should.contain("<DescribeDBInstancesResult>")