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