fix(serverlibrary): remove pytest module

This commit is contained in:
Lucas Vivo committed 2026-11-16 19:48:08 +01:00
1 parent 2d13dd63bd
commit b47497a73b
1 file changed
+1 -3
+1 -3
View File
@@ -4,8 +4,6 @@ import json
import logging
from pathlib import Path
import pytest
from serverlibrary import core
@@ -192,7 +190,7 @@ def test_score_match_helpers():
search = {"apple", "banana"}
candidate = {"apple", "cherry"}
assert core.score_match_recall_jaccard(search, candidate) == 0.5
assert core.score_match_jaccard(search, candidate) == pytest.approx(1 / 3)
assert core.score_match_jaccard(search, candidate) == 1 / 3
same_words = {"cat", "dog"}
assert core.score_match_fuzzy(same_words, same_words) == 1.0