moto/tests/test_kinesisvideo/test_server.py

15 lines
341 B
Python

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")
assert res.status_code == 200