Skip to content

Commit

Permalink
build: Fix unittest TestAuthWithGoogleAuth::test_with_scopes_scoped (#…
Browse files Browse the repository at this point in the history
…1199)

Fixes #1198  🦕
  • Loading branch information
parthea committed Feb 22, 2021
1 parent 91b61d3 commit 7665706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test__auth.py
Expand Up @@ -89,7 +89,7 @@ class CredentialsWithScopes(

self.assertNotEqual(credentials, returned)
self.assertEqual(returned, credentials.with_scopes.return_value)
credentials.with_scopes.assert_called_once_with(mock.sentinel.scopes)
credentials.with_scopes.assert_called_once_with(mock.sentinel.scopes, default_scopes=None)

def test_authorized_http(self):
credentials = mock.Mock(spec=google.auth.credentials.Credentials)
Expand Down

0 comments on commit 7665706

Please sign in to comment.