MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_copy_image_bytes

Method test_copy_image_bytes

tests/operators/test_mllm.py:29–33  ·  view source on GitHub ↗

Test copy_image with bytes.

(self)

Source from the content-addressed store, hash-verified

27 assert result is None
28
29 def test_copy_image_bytes(self):
30 """Test copy_image with bytes."""
31 img_bytes = b"fake image data"
32 result = copy_image(img_bytes)
33 assert result == img_bytes
34
35 def test_copy_image_pil(self, mock_image):
36 """Test copy_image with PIL Image returns the same reference."""

Callers

nothing calls this directly

Calls 1

copy_imageFunction · 0.90

Tested by

no test coverage detected