From 2bdc50e8abccfe466087aa30ceb612c388649ecf Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Wed, 16 Sep 2020 16:58:18 -0500 Subject: [PATCH] test: fix mock credentials to allow for quota projects (#29) --- tests/unit/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index 59e2ea0..5b22fe8 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -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):