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:
stumpylog committed 2026-11-18 12:33:49 -08:00
1 parent bb78373ad1
commit 65fdfcdea7
6 files changed
+10 -146

No files matched your search

+1 -1
View File
@@ -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