Create service and test directories when they don't exist

This commit is contained in:
Toshiya Kawasaki 2017-09-20 03:14:14 +09:00
commit 9cdc0d5070
7 changed files with 140 additions and 16 deletions

View file

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

View file

@ -0,0 +1,11 @@
from __future__ import unicode_literals
import boto3
import sure # noqa
from moto import mock_{{ service }}
@mock_{{ service }}
def test_list():
# do test
pass