Chore: remove duplicate zone OCR tests and assert on untested ones

This commit is contained in:
stumpylog committed 2026-11-18 12:48:20 -08:00
1 parent 1c6742723f
commit d706904a18
2 files changed
+43 -24

No files matched your search

@@ -2276,7 +2276,6 @@ class TestOcrTemplatePreviewPermissions:
grant_global(regular_user, "view_ocrtemplate", "add_ocrtemplate")
document = DocumentFactory(owner=None, mime_type="image/png")
document.source_path.write_bytes(b"document contents")
mock_preview.return_value = {"raw_text": "document contents", "value": None}
if action == "document-page-image":
response = user_client.get(preview_url(document))