Skip to content

Commit cf769a5

Browse files
author
Sergii Solonyna
committed
Refactor parameter names in _MockHttpHelper methods for consistency
- Renamed parameters in the `get` and `post` methods from `url` and `params` to `_url` and `_params`, and from `json` to `_json` respectively, to improve clarity and maintain consistency in naming conventions.
1 parent a831e5b commit cf769a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class _MockHttpHelper:
4040

4141
def get(
4242
self,
43-
url: str,
44-
params: dict[str, Any] | None = None,
43+
_url: str,
44+
_params: dict[str, Any] | None = None,
4545
response_type: Literal["json", "text"] = "json",
4646
) -> Any:
4747
if response_type == "text":
@@ -50,8 +50,8 @@ def get(
5050

5151
def post(
5252
self,
53-
url: str,
54-
json: dict[str, Any] | None = None,
53+
_url: str,
54+
_json: dict[str, Any] | None = None,
5555
response_type: Literal["json", "text"] = "json",
5656
) -> Any:
5757
if response_type == "text":

0 commit comments

Comments
 (0)