feat(file-check): 更新文件检核工具 API Key 配置及相关文档
This commit is contained in:
1 parent
634dee4b81
commit
55cf7ff734
74 files changed
+1525
-1182
No files matched your search
@@ -160,6 +160,7 @@ def test_extract_notice_fields_structured():
|
||||
def test_validate_notice_lines_missing_reservation():
|
||||
warnings = validate_notice_lines([{"sku": "A001", "qty": 1, "uom": "EA"}])
|
||||
assert any("Reservation ID" in w for w in warnings)
|
||||
assert any("阻断后续库存匹配" in w for w in warnings)
|
||||
|
||||
|
||||
def test_heuristic_table_skips_title_row():
|
||||
|
||||
@@ -17,6 +17,8 @@ def test_po_number_not_from_pr_number():
|
||||
|
||||
def test_normalize_po_number():
|
||||
assert normalize_po_number(" PO-99 ") == "PO-99"
|
||||
assert normalize_po_number("ZNB16754796") == "16754796"
|
||||
assert normalize_po_number("ZNB-16754796") == "16754796"
|
||||
assert normalize_po_number("") == ""
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user