feat: RapidOCR default OCR engine, office-only ocr_engine, drop operator toggle
ci / smoke (push) Canceled after 0s
ci / smoke (push) Canceled after 0s
This commit is contained in:
1 parent
080237ad3b
commit
fbba169507
16 files changed
+137
-112
No files matched your search
@@ -49,7 +49,7 @@ def test_do_block_and_batch_default_mode(repo_config_path):
|
||||
assert cfg.do.photo_dir == "do_photos"
|
||||
assert cfg.do.max_photos_per_batch == 8
|
||||
assert cfg.do.zone_warn_seconds == 3
|
||||
assert cfg.do.ocr.engine == "tesseract"
|
||||
assert cfg.do.ocr.engine == "rapid"
|
||||
|
||||
|
||||
def test_do_block_missing_uses_defaults(tmp_path):
|
||||
@@ -65,7 +65,7 @@ def test_do_block_missing_uses_defaults(tmp_path):
|
||||
cfg = load_config(p)
|
||||
assert cfg.batch.default_mode == "auto"
|
||||
assert cfg.do.enabled is True
|
||||
assert cfg.do.ocr.engine == "tesseract"
|
||||
assert cfg.do.ocr.engine == "rapid"
|
||||
assert cfg.do.retention_days == 7
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user