From fc638737170ba5fb50299e54a031a4d8c2a57619 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 19 Aug 2026 18:22:49 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=8B=86=E8=A1=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20ruff=20E501=EF=BC=88test=5Fweb=5Fapi.py=20=E8=B6=85=E9=95=BF?= =?UTF-8?q?=E8=A1=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/test_web_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_web_api.py b/tests/unit/test_web_api.py index 4eea835..78f173e 100644 --- a/tests/unit/test_web_api.py +++ b/tests/unit/test_web_api.py @@ -455,7 +455,8 @@ def test_bars_min1_endpoint_keeps_datetime(): fake = _FakeMacClient(mac_df) with TestClient(_bars_app(fake)) as client: resp = client.get( - "/api/v1/bars", params={"market": "SH", "code": "603179", "category": "MIN_1", "count": 2} + "/api/v1/bars", + params={"market": "SH", "code": "603179", "category": "MIN_1", "count": 2}, ) assert resp.status_code == 200 rows = resp.json()["data"]