Added server test
This commit is contained in:
parent
ca3a3633e9
commit
fbc984933b
@ -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…
x
Reference in New Issue
Block a user