Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Update: 发票ocr助手单测数据路径改为从const获取

Stitch-zd09b6f62a870
diff --git a/tests/metagpt/actions/test_invoice_ocr.py b/tests/metagpt/actions/test_invoice_ocr.py
index 3dc233686..b4560f61b 100644
--- a/tests/metagpt/actions/test_invoice_ocr.py
+++ b/tests/metagpt/actions/test_invoice_ocr.py
@@ -33,10 +33,7 @@ async def test_invoice_ocr(invoice_path: Path):
@pytest.mark.parametrize(
("invoice_path", "expected_result"),
[
- (
- Path("invoices/invoice-1.pdf"),
- {"收款人": "小明", "城市": "深圳", "总费用/元": 412.00, "开票日期": "2023年02月03日"}
- ),
+ (Path("invoices/invoice-1.pdf"), {"收款人": "小明", "城市": "深圳", "总费用/元": 412.00, "开票日期": "2023年02月03日"}),
],
)
async def test_generate_table(invoice_path: Path, expected_result: dict):