moto/scripts/template/test/test_server.py.j2

17 lines
359 B
Plaintext
Raw Normal View History

from __future__ import unicode_literals
import sure # noqa
import moto.server as server
from moto import mock_{{ escaped_service }}
'''
Test the different server responses
'''
@mock_{{ escaped_service }}
def test_{{ escaped_service }}_list():
backend = server.create_backend_app("{{ service }}")
test_client = backend.test_client()
# do test