This commit is contained in:
Your Name
2026-10-09 09:36:17 +08:00
parent 88b94c2fc6
commit 51d8fd409e
727 changed files with 3753398 additions and 102 deletions
@@ -1351,11 +1351,14 @@ def test_reception_report_displays_recorded_sources(application: QApplication) -
assert "#501" in dialog.source_label.text()
assert "历史处方 2 条" in dialog.source_label.text()
assert "六经速查表" in dialog.source_label.text()
assert "server/knowledge/nihaixia-skill/SKILL.md" in dialog.source_label.text()
assert "https://github.com" not in dialog.source_label.text()
page = ReceptionPage(object(), PermissionSet([]))
page._render_ai_analysis_payload(payload, "qwen")
assert "报告出处" in page.ai_source_label.text()
assert "#501" in page.ai_source_label.text()
assert "https://github.com" not in page.ai_source_label.text()
dialog.close()
page.close()