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_session.py
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <sviat@redhat.com>
  • Loading branch information
bdraco and webknjaz authored Oct 11, 2025
commit 5858b5dec795d4446033768c7e06b1f6e02ceaf7
5 changes: 2 additions & 3 deletions tests/test_client_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import gc
import io
import json
import pathlib
import sys
import warnings
from collections import deque
Expand Down Expand Up @@ -1376,9 +1376,8 @@
assert text == "no_auth"


async def test_netrc_auth_skipped_without_netrc_env(
aiohttp_server: AiohttpServer, no_netrc: None
) -> None:
@pytest.mark.usefixtures('no_netrc')
async def test_netrc_auth_skipped_without_netrc_env(aiohttp_server: AiohttpServer) -> None:
"""Test that netrc authentication is skipped when NETRC env var is not set."""
app = web.Application()
app.router.add_get("/", _make_auth_handler())
Expand Down
Loading