mirror of
https://ghfast.top/https://github.com/aeroxw/easy-tdx.git
synced 2026-09-12 14:34:15 +08:00
style: 拆行修复 ruff E501(test_web_api.py 超长行)
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user