diff --git a/tests/test_find_pathway_by_text.py b/tests/test_find_pathway_by_text.py index 68997b2..a51055b 100644 --- a/tests/test_find_pathway_by_text.py +++ b/tests/test_find_pathway_by_text.py @@ -1,4 +1,3 @@ -#from find_pathway_by_text import find_pathways_by_text import pytest from pywikipathways.find_pathway_by_text import * @@ -8,6 +7,14 @@ def test_find_pathways_by_text(): result = find_pathways_by_text(query) assert len(result) > 0 + query = '5-FU' + result = find_pathways_by_text(query) + assert len(result) > 0 + + query = ['cancer', '5-FU'] + result = find_pathways_by_text(query) + assert len(result) > 0 + # Test with a query that should not return any pathways query = 'qwertyuiop' result = find_pathways_by_text(query)