fix(test): correct spelling of recognizable in test comment
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -243,7 +243,7 @@ class TestAzureDocumentIntelligenceIntegration:
|
|||||||
assert result.content, "Azure OCR returned no content"
|
assert result.content, "Azure OCR returned no content"
|
||||||
assert len(result.content) > 10, f"OCR text too short: {result.content[:50]}"
|
assert len(result.content) > 10, f"OCR text too short: {result.content[:50]}"
|
||||||
|
|
||||||
# Verify the generated text is recognisable
|
# Verify the generated text is recognizable
|
||||||
assert (
|
assert (
|
||||||
"Acme" in result.content or "Invoice" in result.content
|
"Acme" in result.content or "Invoice" in result.content
|
||||||
), f"OCR text does not contain expected keywords: {result.content[:200]}"
|
), f"OCR text does not contain expected keywords: {result.content[:200]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user