Add more files and lines when scaffolding (#1222)
* auto-generatr urls.py * add mocks to moto/__init__.py and moto/backends.py * add uri to urls.py * change output of scaffold.py
This commit is contained in:
parent
215aeded5d
commit
ea26466e6d
2 changed files with 120 additions and 3 deletions
9
scripts/template/lib/urls.py.j2
Normal file
9
scripts/template/lib/urls.py.j2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
from .responses import {{ service_class }}Response
|
||||
|
||||
url_bases = [
|
||||
"https?://{{ endpoint_prefix }}.(.+).amazonaws.com",
|
||||
]
|
||||
|
||||
url_paths = {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue