moto/scripts/template/test/test_server.py.j2
kbalk 180a48751d
Minor updates to scaffold.py (#4213)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-24 16:49:45 +01:00

13 lines
313 B
Django/Jinja

"""Test different server responses."""
import sure # noqa
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