Skip to content

Commit 78eafac

Browse files
committed
test: type caplog fixture
1 parent 5cca3b5 commit 78eafac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/client/test_auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,9 @@ async def test_auth_flow_with_no_tokens(self, oauth_provider: OAuthClientProvide
11681168
assert oauth_provider.context.token_expiry_time is not None
11691169

11701170
@pytest.mark.anyio
1171-
async def test_auth_flow_logs_and_reraises_oauth_errors(self, oauth_provider: OAuthClientProvider, caplog):
1171+
async def test_auth_flow_logs_and_reraises_oauth_errors(
1172+
self, oauth_provider: OAuthClientProvider, caplog: pytest.LogCaptureFixture
1173+
):
11721174
"""OAuth flow failures should be logged and re-raised."""
11731175
oauth_provider.context.current_tokens = None
11741176
oauth_provider.context.token_expiry_time = None

0 commit comments

Comments
 (0)