新增征信员工HTML样本并改造Mock解析

This commit is contained in:
wkc
2026-03-23 20:35:52 +08:00
parent 27aab7f9bc
commit 823e9f75a9
1016 changed files with 16400 additions and 9 deletions

View File

@@ -10,6 +10,8 @@ def test_html_eval_should_return_credit_payload(client, sample_credit_html_file)
assert data["status_code"] == "0"
assert data["message"] == "成功"
assert "lx_header" in data["payload"]
assert data["payload"]["lx_header"]["query_cust_name"] == "测试员工"
assert data["payload"]["lx_header"]["query_cert_no"] == "320101199001010030"
def test_html_eval_should_return_err_99999_for_missing_model(client, sample_credit_html_file):