Skip to content

Commit

Permalink
Merge pull request #133 from foarsitter/lint
Browse files Browse the repository at this point in the history
Update linting errors
  • Loading branch information
foarsitter authored Oct 28, 2024
2 parents 4dfb147 + bbe9580 commit f7a6be2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_httpx_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def test_preserve_header() -> None:
client = Client(headers={"X-Test": "test"})
client = Client(headers={"X-Test": "test"}, timeout=30)

request = LookupRequest(id="test").as_request(client)

Expand Down
8 changes: 6 additions & 2 deletions tests/test_locatieserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@


def test_lookup_request_sync() -> None:
client = Client(base_url="https://api.pdok.nl/bzk/locatieserver/search/v3_1/")
client = Client(
base_url="https://api.pdok.nl/bzk/locatieserver/search/v3_1/", timeout=30
)

request = LookupRequest(id="adr-bf54db721969487ed33ba84d9973c702")

Expand All @@ -25,7 +27,9 @@ def test_lookup_request_sync() -> None:

@pytest.mark.asyncio
async def test_lookup_request_async() -> None:
client = AsyncClient(base_url="https://api.pdok.nl/bzk/locatieserver/search/v3_1/")
client = AsyncClient(
base_url="https://api.pdok.nl/bzk/locatieserver/search/v3_1/", timeout=30
)

request = LookupRequest(id="adr-bf54db721969487ed33ba84d9973c702")

Expand Down

0 comments on commit f7a6be2

Please sign in to comment.