2021-08-24 15:49:45 +00:00
|
|
|
"""Test different server responses."""
|
2017-09-19 18:14:14 +00:00
|
|
|
import sure # noqa
|
|
|
|
|
|
|
|
import moto.server as server
|
2017-10-24 18:45:39 +00:00
|
|
|
from moto import mock_{{ escaped_service }}
|
2017-09-19 18:14:14 +00:00
|
|
|
|
|
|
|
|
2017-10-24 18:45:39 +00:00
|
|
|
@mock_{{ escaped_service }}
|
|
|
|
def test_{{ escaped_service }}_list():
|
2017-09-19 18:14:14 +00:00
|
|
|
backend = server.create_backend_app("{{ service }}")
|
|
|
|
test_client = backend.test_client()
|
|
|
|
# do test
|