Skip to content

Commit fe93385

Browse files
committed
lint
1 parent 441ea32 commit fe93385

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/toolbox-core/tests/test_auth_methods.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from unittest.mock import patch, AsyncMock, MagicMock
15+
from unittest.mock import AsyncMock, MagicMock, patch
1616

17-
import pytest
1817
import google.auth.exceptions
18+
import pytest
1919

2020
from toolbox_core import auth_methods
2121

@@ -120,6 +120,7 @@ async def test_aget_google_id_token_refresh_error(
120120

121121
# --- Synchronous Tests ---
122122

123+
123124
@patch("toolbox_core.auth_methods.Request")
124125
@patch("toolbox_core.auth_methods.AuthorizedSession")
125126
@patch("toolbox_core.auth_methods.google.auth.default")
@@ -198,4 +199,4 @@ def test_get_google_id_token_refresh_error(
198199
mock_google_auth_default.assert_called_once_with()
199200
mock_authorized_session_class.assert_called_once_with(mock_creds_instance)
200201
mock_request_class.assert_called_once_with(mock_session_instance)
201-
mock_creds_instance.refresh.assert_called_once_with(mock_request_instance)
202+
mock_creds_instance.refresh.assert_called_once_with(mock_request_instance)

0 commit comments

Comments
 (0)