"""Unit tests for image MIME-type detection and validation.""" import pytest def test_mime_type_validation(): """Verify supported image MIME types.""" allowed_types = ["image/png", "image/jpeg", "image/webp", "image/gif"] assert "image/png" in allowed_types assert "image/jpeg" in allowed_types assert "application/pdf" not in allowed_types