We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b24f3 commit 4f418c3Copy full SHA for 4f418c3
tests/test_wallhavenapi.py
@@ -40,12 +40,12 @@ def test_category_and_purity_helpers() -> None:
40
assert WallhavenAPI._purity(False, True, True) == "011"
41
42
43
-def test_url_format(api: WallhavenAPI) -> None:
+def test_format_url(api: WallhavenAPI) -> None:
44
"""
45
- Test the internal _url_format method to ensure it generates the
+ Test the internal _format_url method to ensure it generates the
46
correct endpoint URL.
47
48
- url: str = api._url_format("search")
+ url: str = api._format_url("search")
49
assert url == f"{API_BASE_URL}/search"
50
51
0 commit comments