Skip to content

Commit

Permalink
test: fix mock credentials to allow for quota projects (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast authored Sep 16, 2020
1 parent 0273a96 commit 2bdc50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def _make_credentials():
import google.auth.credentials

return mock.Mock(spec=google.auth.credentials.Credentials)
return mock.Mock(spec=google.auth.credentials.CredentialsWithQuotaProject)


class Test_ClientFactoryMixin(unittest.TestCase):
Expand Down

0 comments on commit 2bdc50e

Please sign in to comment.