We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17c90bf commit 927bf05Copy full SHA for 927bf05
tests/data_validation/recommenders/datasets/test_wikidata.py
@@ -51,10 +51,11 @@ def test_query_entity_description(q):
51
52
53
def test_search_wikidata_correct(q):
54
- result = search_wikidata(q["correct"])
+ result = search_wikidata([q["correct"]])
55
assert result.shape[0] >= 1
56
assert "The Lord of the Rings" in result["name_linked_entities"].values
57
58
+
59
def test_search_wikidata_incorrect(q):
- result = search_wikidata(q["incorrect"])
60
+ result = search_wikidata([q["not_correct"]])
61
assert result.empty
0 commit comments