From 5c9ce7fd2b3f92ecf5a237d5341b483d84202198 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 4 Aug 2025 23:47:17 -0400 Subject: [PATCH] remove outdated test --- .../messages/test_content_block_factories.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libs/core/tests/unit_tests/messages/test_content_block_factories.py b/libs/core/tests/unit_tests/messages/test_content_block_factories.py index 51b30f501eb..ab655b2bc20 100644 --- a/libs/core/tests/unit_tests/messages/test_content_block_factories.py +++ b/libs/core/tests/unit_tests/messages/test_content_block_factories.py @@ -117,13 +117,6 @@ class TestImageBlockFactory: ): create_image_block() - def test_base64_without_mime_type_raises_error(self) -> None: - """Test that base64 without mime_type raises ValueError.""" - with pytest.raises( - ValueError, match="mime_type is required when using base64 data" - ): - create_image_block(base64="iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJ") - def test_with_index(self) -> None: """Test image block creation with index.""" block = create_image_block(url="https://example.com/image.jpg", index=1) @@ -166,13 +159,6 @@ class TestVideoBlockFactory: ): create_video_block() - def test_base64_without_mime_type_raises_error(self) -> None: - """Test that base64 without mime_type raises ValueError.""" - with pytest.raises( - ValueError, match="mime_type is required when using base64 data" - ): - create_video_block(base64="UklGRnoGAABXQVZFZm10IBAAAAABAAEA") - class TestAudioBlockFactory: """Test create_audio_block factory function."""