mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test(bedrock): cover every video extension added to content type inference
The parametrized case list only exercised five of the nine video extensions, so codecov flagged the remaining map entries as uncovered Add flv, mpeg, mpg and wmv so every added entry has a case
This commit is contained in:
parent
b767b7cbf4
commit
a88e0f5f3d
1 changed files with 4 additions and 0 deletions
|
|
@ -1824,6 +1824,10 @@ class TestEncryptedReasoningReplay:
|
|||
("https://example.com/clip.mov", "video/mov"),
|
||||
("https://example.com/clip.mkv", "video/mkv"),
|
||||
("https://example.com/clip.3gp", "video/3gp"),
|
||||
("https://example.com/clip.flv", "video/flv"),
|
||||
("https://example.com/clip.mpeg", "video/mpeg"),
|
||||
("https://example.com/clip.mpg", "video/mpg"),
|
||||
("https://example.com/clip.wmv", "video/wmv"),
|
||||
],
|
||||
)
|
||||
def test_infer_video_content_type_from_url_extension(url, expected):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue