|
@@ -3,7 +3,7 @@ import pytest
|
|
|
import spacy
|
|
|
from spacy import displacy
|
|
|
|
|
|
-# import here your file
|
|
|
+from src.strategies.leaf_strategy import leaf_strategy
|
|
|
|
|
|
nlp = spacy.load("en_core_web_trf")
|
|
|
|
|
@@ -13,6 +13,6 @@ nlp = spacy.load("en_core_web_trf")
|
|
|
def test_leaf_strategy(text, expected):
|
|
|
doc = nlp(text)
|
|
|
|
|
|
- # result = leaf_strategy(doc)
|
|
|
+ result = leaf_strategy(doc)
|
|
|
|
|
|
# assert result == expected
|