mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-25 22:51:19 +00:00
Chore: import dateparser and zxingcpp lazily in zone OCR
This commit is contained in:
1 parent
0348dc532f
commit
ad64f2a1b1
2 files changed
+5
-3
No files matched your search
@@ -2090,7 +2090,7 @@ class TestApplyTransform:
|
||||
THEN:
|
||||
- An empty string is returned
|
||||
"""
|
||||
mocker.patch("documents.zone_ocr.dateparser.parse", side_effect=OverflowError)
|
||||
mocker.patch("dateparser.parse", side_effect=OverflowError)
|
||||
assert (
|
||||
_apply_transform(
|
||||
"unparsable",
|
||||
|
||||
Reference in new issue
Block a user