Nikos Atlas 2 anni fa
parent
commit
188eb3ac7c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      __tests__/test_leaf_strategy.py

+ 2 - 2
__tests__/test_leaf_strategy.py

@@ -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