mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 20:46:53 +00:00
Chore: move misplaced zone OCR tests
This commit is contained in:
1 parent
093c18e68b
commit
044da9a627
4 files changed
+132
-120
No files matched your search
@@ -1456,6 +1456,10 @@ class TestApplyTransform:
|
||||
mocker.patch("documents.zone_ocr.dateparser.parse", side_effect=OverflowError)
|
||||
assert _apply_transform("unparsable", "date") == "unparsable"
|
||||
|
||||
|
||||
class TestPrepareFieldUpdate:
|
||||
"""Tests for converting extracted values into field updates."""
|
||||
|
||||
def test_unknown_target_cannot_produce_a_field_update(self) -> None:
|
||||
"""
|
||||
GIVEN:
|
||||
|
||||
Reference in new issue
Block a user