Added server testcase
This commit is contained in:
parent
dfb712848d
commit
cecbbb70e1
1 changed files with 4 additions and 1 deletions
|
|
@ -9,8 +9,11 @@ from moto import mock_polly
|
|||
Test the different server responses
|
||||
'''
|
||||
|
||||
|
||||
@mock_polly
|
||||
def test_polly_list():
|
||||
backend = server.create_backend_app("polly")
|
||||
test_client = backend.test_client()
|
||||
# do test
|
||||
|
||||
res = test_client.get('/v1/lexicons')
|
||||
res.status_code.should.equal(200)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue