Skip to content

Commit 7665706

Browse files
authored
build: Fix unittest TestAuthWithGoogleAuth::test_with_scopes_scoped (#1199)
Fixes #1198 🦕
1 parent 91b61d3 commit 7665706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test__auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CredentialsWithScopes(
8989

9090
self.assertNotEqual(credentials, returned)
9191
self.assertEqual(returned, credentials.with_scopes.return_value)
92-
credentials.with_scopes.assert_called_once_with(mock.sentinel.scopes)
92+
credentials.with_scopes.assert_called_once_with(mock.sentinel.scopes, default_scopes=None)
9393

9494
def test_authorized_http(self):
9595
credentials = mock.Mock(spec=google.auth.credentials.Credentials)

0 commit comments

Comments
 (0)