WIP
This commit is contained in:
@@ -335,12 +335,15 @@ class TestFallbackLogic:
|
||||
with patch.object(InferencePipeline, "__init__", lambda x, *args, **kwargs: None):
|
||||
pipeline = InferencePipeline.__new__(InferencePipeline)
|
||||
|
||||
# All key fields present
|
||||
# All key and important fields present
|
||||
result = InferenceResult(
|
||||
fields={
|
||||
"Amount": "1500.00",
|
||||
"InvoiceNumber": "INV-001",
|
||||
"OCR": "12345678901234",
|
||||
"InvoiceDate": "2025-01-15",
|
||||
"InvoiceDueDate": "2025-02-15",
|
||||
"supplier_organisation_number": "556123-4567",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user