feat(regulatory): 对齐附件4目录核查规则
This commit is contained in:
@@ -12,3 +12,16 @@ def test_consistency_check_reports_product_name_mismatch():
|
||||
assert len(findings) == 1
|
||||
assert findings[0].category == "consistency"
|
||||
assert "产品名称" in findings[0].title
|
||||
|
||||
|
||||
def test_consistency_check_reports_registration_scope_fields():
|
||||
document_texts = {
|
||||
"申请表.docx": "管理类别:第二类\n分类编码:6840\n注册类型:首次注册\n临床评价路径:免临床",
|
||||
"综述资料.docx": "管理类别:第三类\n分类编码:6840\n注册类型:首次注册\n临床评价路径:临床试验",
|
||||
}
|
||||
|
||||
findings = run_consistency_check(document_texts)
|
||||
titles = [finding.title for finding in findings]
|
||||
|
||||
assert "管理类别在不同文件中不一致" in titles
|
||||
assert "临床评价路径在不同文件中不一致" in titles
|
||||
|
||||
Reference in New Issue
Block a user