Logo
Explore Help
Register Sign In
Yasuke/moto
1
0
Fork 0
You've already forked moto
Code Issues Pull Requests Packages Projects Releases Wiki Activity
moto/scripts/template/test/test_service.py.j2

8 lines
282 B
Plaintext
Raw Normal View History

Minor updates to scaffold.py (#4213) Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-24 11:49:45 -04:00
"""Unit tests for {{ escaped_service }}-supported APIs."""
Create service and test directories when they don't exist
2017-09-20 03:14:14 +09:00
import boto3
Minor updates to scaffold.py (#4213) Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-24 11:49:45 -04:00
Fix scaffold to support rest-json style API (#1291) * append appropriate urls when scaffolding * make dispatch for rest-api * fix dispatch for rest-json * fix moto/core/response to obtain path and body parameters * small fixes * remove unused import * fix get_int_param * fix scaffold * fix formatting of scaffold * fix misc * escape service to handle service w/ hyphen like iot-data * escape service w/ hyphen * fix regexp to extract region from url * escape service * fix syntax * skip loading body to json object when request body is None
2017-10-25 03:45:39 +09:00
from moto import mock_{{ escaped_service }}
Create service and test directories when they don't exist
2017-09-20 03:14:14 +09:00
Scaffold-script improvements (#4641)
2021-11-29 14:36:24 -01:00
# See our Development Tips on writing tests for hints on how to write good tests:
# http://docs.getmoto.org/en/latest/docs/contributing/development_tips/tests.html
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 545ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API