Created unit tests for check_streams
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m5s

This commit is contained in:
2025-05-28 23:31:04 -05:00
parent f7a1c20066
commit 95bf0f9701
3 changed files with 316 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ class StreamValidator:
"application/octet-stream",
"application/x-mpegURL",
]
if content_type is None:
return False
return any(ct in content_type for ct in valid_types)
def parse_playlist(self, file_path):