Added server testcase
This commit is contained in:
parent
dfb712848d
commit
cecbbb70e1
@ -9,8 +9,11 @@ from moto import mock_polly
|
|||||||
Test the different server responses
|
Test the different server responses
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
@mock_polly
|
@mock_polly
|
||||||
def test_polly_list():
|
def test_polly_list():
|
||||||
backend = server.create_backend_app("polly")
|
backend = server.create_backend_app("polly")
|
||||||
test_client = backend.test_client()
|
test_client = backend.test_client()
|
||||||
# do test
|
|
||||||
|
res = test_client.get('/v1/lexicons')
|
||||||
|
res.status_code.should.equal(200)
|
||||||
|
Loading…
Reference in New Issue
Block a user