Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakov512 committed Apr 3, 2024
1 parent b749587 commit cbec32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import requests_mock


@pytest.fixture()
@pytest.fixture
def mock_api() -> typing.Any:
def _encode(geocode: str, api_key: str = "well-known-key") -> str:
params = {"format": "json", "apikey": api_key, "geocode": geocode}
Expand All @@ -26,7 +26,7 @@ def load_fixture(fixture_name: str) -> dict[str, typing.Any]:
return json.load(fixture) # type: ignore


@pytest.fixture()
@pytest.fixture
def mock_client_response(mocker: typing.Any) -> typing.Any:
def _mock(fixture_name: str) -> typing.Any:
with open("./tests/fixtures/{}.json".format(fixture_name)) as fixture:
Expand Down

0 comments on commit cbec32d

Please sign in to comment.