Create service and test directories when they don't exist
This commit is contained in:
parent
5996876043
commit
9cdc0d5070
7 changed files with 140 additions and 16 deletions
15
template/lib/responses.py.j2
Normal file
15
template/lib/responses.py.j2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from __future__ import unicode_literals
|
||||
from moto.core.responses import BaseResponse
|
||||
from .models import {{ service }}_backends
|
||||
|
||||
|
||||
class {{ service_class }}Response(BaseResponse):
|
||||
@property
|
||||
def {{ service }}_backend(self):
|
||||
return {{ service }}_backends[self.region]
|
||||
|
||||
# add methods from here
|
||||
|
||||
|
||||
# add teampltes from here
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue