13 lines
345 B
Django/Jinja
13 lines
345 B
Django/Jinja
"""Test different server responses."""
|
|
import sure # noqa # pylint: disable=unused-import
|
|
|
|
import moto.server as server
|
|
from moto import mock_{{ escaped_service }}
|
|
|
|
|
|
@mock_{{ escaped_service }}
|
|
def test_{{ escaped_service }}_list():
|
|
backend = server.create_backend_app("{{ service }}")
|
|
test_client = backend.test_client()
|
|
# do test
|