WIP
This commit is contained in:
@@ -213,8 +213,8 @@ class TestNormalizeOCR:
|
||||
assert ' ' not in result.value # Spaces should be removed
|
||||
|
||||
def test_short_ocr_invalid(self, normalizer):
|
||||
"""Test that too short OCR is invalid."""
|
||||
result = normalizer.normalize("123")
|
||||
"""Test that single-digit OCR is invalid (min 2 digits)."""
|
||||
result = normalizer.normalize("5")
|
||||
assert result.is_valid is False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user