From d09b6f62a870ad2092d9112f75a42441d3ba3b9c Mon Sep 17 00:00:00 2001 From: Stitch-z <284618289@qq.com> Date: Fri, 29 Dec 2023 00:07:01 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E5=8F=91=E7=A5=A8ocr=E5=8A=A9?= =?UTF-8?q?=E6=89=8B=E5=8D=95=E6=B5=8B=E6=95=B0=E6=8D=AE=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BB=8Econst=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/metagpt/actions/test_invoice_ocr.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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):