Skip to content

Commit 00d1b74

Browse files
committed
merge with recent branch
1 parent cacb93e commit 00d1b74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/client/test_auth.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import time
77
from collections.abc import AsyncGenerator
88
from typing import Any
9-
from unittest import mock
109
from unittest.mock import AsyncMock, Mock, patch
1110

1211
import httpx
@@ -1323,7 +1322,7 @@ async def callback_handler() -> tuple[str, str | None]:
13231322
)
13241323

13251324
# Mock the rest of the OAuth flow
1326-
provider._perform_authorization = mock.AsyncMock(return_value=("test_auth_code", "test_code_verifier"))
1325+
provider._perform_authorization = AsyncMock(return_value=("test_auth_code", "test_code_verifier"))
13271326

13281327
# Next should be OAuth metadata discovery
13291328
oauth_metadata_request = await auth_flow.asend(discovery_response_2)

0 commit comments

Comments
 (0)