Move run_zone_ocr to the new bulk operations pathway

This commit is contained in:
shamoon committed 2026-11-17 13:43:13 -08:00
1 parent 3153b118bd
commit 855b161407
13 files changed
+193 -47

No files matched your search

+1 -1
View File
@@ -780,7 +780,7 @@ class TestBulkEditAPI(DirectoriesMixin, APITestCase):
m.assert_called_once()
args, kwargs = m.call_args
self.assertEqual(args[0], [self.doc1.id])
self.assertEqual(kwargs, {"template": template})
self.assertEqual(kwargs, {"template": template.pk})
@mock.patch("documents.views.bulk_edit.run_zone_ocr")
def test_run_zone_ocr_documents_endpoint_rejects_private_template(