Skip to content

Commit 927bf05

Browse files
committed
🐛
Signed-off-by: miguelgfierro <[email protected]>
1 parent 17c90bf commit 927bf05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/data_validation/recommenders/datasets/test_wikidata.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ def test_query_entity_description(q):
5151

5252

5353
def test_search_wikidata_correct(q):
54-
result = search_wikidata(q["correct"])
54+
result = search_wikidata([q["correct"]])
5555
assert result.shape[0] >= 1
5656
assert "The Lord of the Rings" in result["name_linked_entities"].values
5757

58+
5859
def test_search_wikidata_incorrect(q):
59-
result = search_wikidata(q["incorrect"])
60+
result = search_wikidata([q["not_correct"]])
6061
assert result.empty

0 commit comments

Comments
 (0)