moto/tests/test_batch/test_server.py
2019-10-31 10:36:05 -07:00

20 lines
390 B
Python

from __future__ import unicode_literals
import sure # noqa
import moto.server as server
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()
res = test_client.get("/v1/describecomputeenvironments")
res.status_code.should.equal(200)