2021-10-18 19:44:29 +00:00
|
|
|
import sure # noqa # pylint: disable=unused-import
|
2020-09-02 07:51:51 +00:00
|
|
|
|
|
|
|
import moto.server as server
|
|
|
|
from moto import mock_kinesisvideo
|
|
|
|
|
|
|
|
"""
|
|
|
|
Test the different server responses
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
@mock_kinesisvideo
|
|
|
|
def test_kinesisvideo_server_is_up():
|
|
|
|
backend = server.create_backend_app("kinesisvideo")
|
|
|
|
test_client = backend.test_client()
|
|
|
|
res = test_client.post("/listStreams")
|
|
|
|
res.status_code.should.equal(200)
|