14 lines
370 B
Django/Jinja
14 lines
370 B
Django/Jinja
"""Test different server responses."""
|
|
import sure # noqa # pylint: disable=unused-import
|
|
|
|
import moto.server as server
|
|
|
|
|
|
def test_{{ escaped_service }}_list():
|
|
backend = server.create_backend_app("{{ service }}")
|
|
test_client = backend.test_client()
|
|
|
|
resp = test_client.get("/")
|
|
resp.status_code.should.equal(200)
|
|
str(resp.data).should.contain("?")
|