mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-21 04:52:40 +00:00
Chore: default OcrTemplateFactory to MATCH_ANY and drop redundant test arguments
Match the model's default matching, so tests stop restating it along with other factory defaults.
This commit is contained in:
1 parent
bb78373ad1
commit
65fdfcdea7
6 files changed
+10
-146
No files matched your search
@@ -118,7 +118,7 @@ class OcrTemplateFactory(TypedModelFactory[OcrTemplate]):
|
||||
|
||||
name = factory.Sequence(lambda n: f"OCR template {n}")
|
||||
match = ""
|
||||
matching_algorithm = MatchingModel.MATCH_NONE
|
||||
matching_algorithm = MatchingModel.MATCH_ANY
|
||||
source_width = 1000
|
||||
source_height = 1000
|
||||
|
||||
|
||||
Reference in new issue
Block a user