17 lines
335 B
Django/Jinja
17 lines
335 B
Django/Jinja
from __future__ import unicode_literals
|
|
|
|
import sure # noqa
|
|
|
|
import moto.server as server
|
|
from moto import mock_{{ service }}
|
|
|
|
'''
|
|
Test the different server responses
|
|
'''
|
|
|
|
@mock_{{ service }}
|
|
def test_{{ service }}_list():
|
|
backend = server.create_backend_app("{{ service }}")
|
|
test_client = backend.test_client()
|
|
# do test
|