moto/tests/test_kinesisvideo/test_server.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
323 B
Python
Raw Normal View History

import moto.server as server
2024-01-07 12:03:33 +00:00
from moto import mock_aws
"""
Test the different server responses
"""
2024-01-07 12:03:33 +00:00
@mock_aws
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