fix: hide raw review reason codes
All checks were successful
CD Pipeline / deploy (push) Successful in 1m1s

This commit is contained in:
ogt
2026-06-25 14:11:01 +08:00
parent c351bd51b5
commit 92c8f3776f
4 changed files with 4 additions and 2 deletions

View File

@@ -220,6 +220,7 @@ def test_momo_review_candidates_return_dual_store_links_and_plain_reasons():
assert row["momo_url"] == "https://www.momoshop.com.tw/goods/GoodsDetail.jsp?i_code=MOMO-REVIEW"
assert row["match_reason_labels"]
assert all("_" not in label for label in row["match_reason_labels"])
assert all("_" not in label for label in row["match_reasons"])
assert "色號" in row["reason_summary"] or "款式" in row["reason_summary"]