Skip to content

Commit 4f418c3

Browse files
committed
Fix: match test name with method
1 parent 55b24f3 commit 4f418c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_wallhavenapi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ def test_category_and_purity_helpers() -> None:
4040
assert WallhavenAPI._purity(False, True, True) == "011"
4141

4242

43-
def test_url_format(api: WallhavenAPI) -> None:
43+
def test_format_url(api: WallhavenAPI) -> None:
4444
"""
45-
Test the internal _url_format method to ensure it generates the
45+
Test the internal _format_url method to ensure it generates the
4646
correct endpoint URL.
4747
"""
48-
url: str = api._url_format("search")
48+
url: str = api._format_url("search")
4949
assert url == f"{API_BASE_URL}/search"
5050

5151

0 commit comments

Comments
 (0)