We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abeb85 commit 09243e9Copy full SHA for 09243e9
1 file changed
packages/google-api-core/tests/unit/gapic/test_client_helpers.py
@@ -175,8 +175,12 @@ def test__read_environment_variables_invalid_mtls():
175
client_helpers._read_environment_variables()
176
177
178
-@mock.patch("google.auth.transport.mtls.has_default_client_cert_source")
179
-@mock.patch("google.auth.transport.mtls.default_client_cert_source")
+@mock.patch(
+ "google.auth.transport.mtls.has_default_client_cert_source", create=True
180
+)
181
182
+ "google.auth.transport.mtls.default_client_cert_source", create=True
183
184
def test__get_client_cert_source(mock_default, mock_has_default):
185
mock_default.return_value = b"default_cert"
186
mock_has_default.return_value = True
0 commit comments