Skip to content

Commit 3e45fe2

Browse files
committed
fix build
1 parent 5cc1b29 commit 3e45fe2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/unit/operations_v1/test_operations_rest_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,12 @@ def test_operations_client_client_options_credentials_file(
564564
"credentials_file",
565565
[None, "credentials.json"],
566566
)
567-
def test_list_operations_rest(credentials_file):
567+
@mock.patch(
568+
"google.auth.default",
569+
autospec=True,
570+
return_value=(mock.sentinel.credentials, mock.sentinel.project),
571+
)
572+
def test_list_operations_rest(google_auth_default, credentials_file):
568573
sync_transport = transports.rest.OperationsRestTransport(
569574
credentials_file=credentials_file,
570575
http_options=HTTP_OPTIONS,

0 commit comments

Comments
 (0)