新增征信员工HTML样本并改造Mock解析
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user