style: 拆行修复 ruff E501(test_web_api.py 超长行)

This commit is contained in:
GitHub
2026-08-19 18:22:49 +08:00
parent bcaee1404d
commit fc63873717
+2 -1
View File
@@ -455,7 +455,8 @@ def test_bars_min1_endpoint_keeps_datetime():
fake = _FakeMacClient(mac_df) fake = _FakeMacClient(mac_df)
with TestClient(_bars_app(fake)) as client: with TestClient(_bars_app(fake)) as client:
resp = client.get( 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 assert resp.status_code == 200
rows = resp.json()["data"] rows = resp.json()["data"]