新增三大股东接口, 补充 SKILLS.md 使用说明书
- 新增 十大流通股东/十大股东明细/股东户数 三个抓取模块并接入 API - 冒烟测试扩展至 30 用例, 全部通过 - 新增 SKILLS.md (给其他 agent 使用的工具说明书) - 补充待优化端点清单与文档对齐规范
This commit is contained in:
@@ -11,7 +11,10 @@ from utils.fin_capital_structure import get_capital_structure
|
||||
from utils.fin_cashflow import get_cashflow
|
||||
from utils.fin_dividend import get_dividend_detail, get_dividend_statics
|
||||
from utils.fin_dupont import get_dupont
|
||||
from utils.fin_free_holders import get_free_holders
|
||||
from utils.fin_growth import get_growth
|
||||
from utils.fin_holder_num import get_holder_num
|
||||
from utils.fin_holders import get_holders
|
||||
from utils.fin_income import get_income
|
||||
from utils.fin_main_business import get_main_business
|
||||
from utils.fin_operate import get_operate_ability
|
||||
@@ -32,6 +35,9 @@ CASES = [
|
||||
pytest.param(get_dupont, "ROE", id="dupont"),
|
||||
pytest.param(get_dividend_detail, "IMPL_PLAN_PROFILE", id="dividend_detail"),
|
||||
pytest.param(get_dividend_statics, "AUALACCMDIV_ARD", id="dividend_statics"),
|
||||
pytest.param(get_free_holders, "HOLDER_NAME", id="free_holders"),
|
||||
pytest.param(get_holders, "HOLDER_NAME", id="holders"),
|
||||
pytest.param(get_holder_num, "HOLDER_TOTAL_NUM", id="holder_num"),
|
||||
]
|
||||
|
||||
|
||||
@@ -80,5 +86,8 @@ def test_api_routes():
|
||||
"/fin/dupont",
|
||||
"/fin/dividend-detail",
|
||||
"/fin/dividend-statics",
|
||||
"/fin/free-holders",
|
||||
"/fin/holders",
|
||||
"/fin/holder-num",
|
||||
]:
|
||||
assert route in paths, f"缺少路由 {route}"
|
||||
|
||||
Reference in New Issue
Block a user