test
Functions:
-
client–Create a test client for the Labox server.
-
test_get_content_data_not_found–Test streaming data from a non-existent content record returns 404.
-
test_get_content_data_success–Test streaming the actual data from a content record.
-
test_get_content_not_found–Test getting a non-existent content record returns 404.
-
test_get_content_success–Test getting a content record by ID.
-
test_get_manifest_not_found–Test getting a non-existent manifest returns 404.
-
test_get_manifest_success–Test getting a manifest by ID.
-
test_list_contents_empty–Test listing contents when database is empty.
-
test_list_contents_filtered_by_manifest–Test filtering contents by manifest_id.
-
test_list_contents_with_data–Test listing contents with data in the database.
-
test_list_contents_with_pagination–Test listing contents with pagination parameters.
test_get_content_data_not_found
async
Test streaming data from a non-existent content record returns 404.
test_get_content_data_success
async
Test streaming the actual data from a content record.
test_get_content_not_found
async
Test getting a non-existent content record returns 404.
test_get_content_success
async
Test getting a content record by ID.
test_get_manifest_not_found
async
Test getting a non-existent manifest returns 404.
test_get_manifest_success
async
Test getting a manifest by ID.
test_list_contents_empty
async
Test listing contents when database is empty.
test_list_contents_filtered_by_manifest
async
Test filtering contents by manifest_id.
test_list_contents_with_data
async
Test listing contents with data in the database.