from review_agent.regulatory_review.services.consistency_check import run_consistency_check def test_consistency_check_reports_product_name_mismatch(): document_texts = { "说明书.docx": "产品名称:甲胎蛋白检测试剂盒\n型号规格:20人份/盒\n预期用途:定量检测AFP", "技术要求.docx": "产品名称:乙肝表面抗原检测试剂盒\n型号规格:20人份/盒\n预期用途:定量检测AFP", } findings = run_consistency_check(document_texts) assert len(findings) == 1 assert findings[0].category == "consistency" assert "产品名称" in findings[0].title