Skip to content

Commit e00d297

Browse files
committed
chore: rename test parameter function
Rename test parameter function eliminating test_ prefix to prevent pytest warning.
1 parent 0109382 commit e00d297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/20241401/test_deep_crawl_scorers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515

1616

17-
def test_scorers_params() -> list[ParameterSet]:
17+
def scorers_params() -> list[ParameterSet]:
1818
tests: list[ParameterSet] = []
1919

2020
def add_tests(name: str, scorer, urls: dict[str, float]):
@@ -86,7 +86,7 @@ def add_tests(name: str, scorer, urls: dict[str, float]):
8686
return tests
8787

8888

89-
@pytest.mark.parametrize("scorer,url,expected", test_scorers_params())
89+
@pytest.mark.parametrize("scorer,url,expected", scorers_params())
9090
def test_accuracy(scorer: URLScorer, url: str, expected: float):
9191
score = round(scorer.score(url), 8)
9292
expected = round(expected, 8)

0 commit comments

Comments
 (0)