更新
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user