Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0b9b763
Fix blocking I/O to load netrc when creating requests
bdraco Oct 11, 2025
2ff3b70
changes
bdraco Oct 11, 2025
c785713
preen
bdraco Oct 11, 2025
5d50745
preen
bdraco Oct 11, 2025
720d3d5
cover raise case
bdraco Oct 11, 2025
2cca6ed
Update tests/conftest.py
bdraco Oct 11, 2025
3719848
Update tests/test_client_session.py
bdraco Oct 11, 2025
a134768
Update tests/test_client_session.py
bdraco Oct 11, 2025
34af199
Update tests/test_client_session.py
bdraco Oct 11, 2025
71d3a5b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 11, 2025
4efa317
add monkey
bdraco Oct 11, 2025
1a1e579
Update tests/test_client_functional.py
bdraco Oct 11, 2025
130aef4
Update tests/test_client_functional.py
bdraco Oct 11, 2025
9de96aa
Update tests/test_client_functional.py
bdraco Oct 11, 2025
ddf9d4d
Update tests/test_client_session.py
bdraco Oct 11, 2025
5858b5d
Update tests/test_client_session.py
bdraco Oct 11, 2025
22efeb9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 11, 2025
43463c5
preen
bdraco Oct 11, 2025
ca0f7cf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 11, 2025
dad2c27
dry
bdraco Oct 11, 2025
cbf6e15
Merge remote-tracking branch 'upstream/netrc_blockingio_fix' into net…
bdraco Oct 11, 2025
a66abde
preen
bdraco Oct 11, 2025
d274ff7
lint
bdraco Oct 11, 2025
db59ba7
lint
bdraco Oct 11, 2025
f629a11
Update aiohttp/client.py
bdraco Oct 14, 2025
ecba61b
Merge branch 'master' into netrc_blockingio_fix
bdraco Oct 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tests/test_client_functional.py
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
  • Loading branch information
bdraco and webknjaz authored Oct 11, 2025
commit 1a1e5794e06045489c67a7745e7f6138720068dc
5 changes: 2 additions & 3 deletions tests/test_client_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -3746,9 +3746,8 @@ async def handler(request: web.Request) -> NoReturn:
await client.get("/", headers=headers)


async def test_netrc_auth_from_env(
aiohttp_client: AiohttpClient, netrc_default_contents: pathlib.Path
) -> None:
@pytest.mark.usefixtures('netrc_default_contents')
async def test_netrc_auth_from_env(aiohttp_client: AiohttpClient) -> None:
"""Test that netrc authentication works when NETRC env var is set and trust_env=True."""

async def handler(request: web.Request) -> web.Response:
Expand Down