2020-09-04 11:14:48 +00:00
|
|
|
import moto.server as server
|
|
|
|
from moto import mock_kinesisvideoarchivedmedia
|
|
|
|
|
|
|
|
"""
|
|
|
|
Test the different server responses
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
@mock_kinesisvideoarchivedmedia
|
|
|
|
def test_kinesisvideoarchivedmedia_server_is_up():
|
|
|
|
backend = server.create_backend_app("kinesis-video-archived-media")
|
|
|
|
test_client = backend.test_client()
|
|
|
|
res = test_client.post("/getHLSStreamingSessionURL")
|
|
|
|
# Just checking server is up
|
2023-08-02 09:39:45 +00:00
|
|
|
assert res.status_code == 404
|