Skip to content

Commit 1891128

Browse files
committed
fix: Bindings tests 2
1 parent 4f58367 commit 1891128

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_unit_tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,11 @@ def test_reader_is_embedded(self):
402402
with Reader("image/jpeg", read_buffer, manifest_data) as reader:
403403
self.assertFalse(reader.is_embedded(), "Remote manifest should return False")
404404

405+
# Test with cloud.jpg fixture which has a remote manifest (not embedded)
406+
cloud_fixture_path = os.path.join(self.data_dir, "cloud.jpg")
407+
with Reader("image/jpeg", cloud_fixture_path) as reader:
408+
self.assertFalse(reader.is_embedded(), "cloud.jpg should have a remote manifest (not embedded)")
409+
405410
def test_reader_get_remote_url(self):
406411
"""Test the get_remote_url method returns correct values for embedded and remote manifests."""
407412

0 commit comments

Comments
 (0)