Skip to content

Commit 2bdc50e

Browse files
authored
test: fix mock credentials to allow for quota projects (#29)
1 parent 0273a96 commit 2bdc50e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
def _make_credentials():
2323
import google.auth.credentials
2424

25-
return mock.Mock(spec=google.auth.credentials.Credentials)
25+
return mock.Mock(spec=google.auth.credentials.CredentialsWithQuotaProject)
2626

2727

2828
class Test_ClientFactoryMixin(unittest.TestCase):

0 commit comments

Comments
 (0)