2017-09-19 18:14:14 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
'''
|
|
|
|
Test the different server responses
|
|
|
|
'''
|
|
|
|
|
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
|