fix(serverlibrary): remove pytest module
Python tests / test-wallpaper-changer (push) Successful in 21s
Python tests / test-serverlibrary (push) Failing after 12s
Python tests / lint (push) Failing after 5s

This commit is contained in:
Lucas Vivo committed 2026-11-15 21:54:33 +01:00
1 parent 38e80b91d6
commit b5818c3462
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