Skip to content

Commit 798ec74

Browse files
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 09968ac commit 798ec74

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_explainability.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ def test_explainability_extracts_non_sql_sources_from_text(tmp_path):
8181
record = collector.finalize("Home roasting is much cheaper.")
8282

8383
source_names = [source["name"] for source in record.data_sources]
84-
assert "happymugcoffee.com" in source_names
85-
assert "burmancoffee.com" in source_names
84+
assert set(source_names) == {"happymugcoffee.com", "burmancoffee.com"}
8685
assert "gathered information from" in record.summary.lower()
8786

8887

0 commit comments

Comments
 (0)