File tree Expand file tree Collapse file tree
gapic/templates/tests/unit/gapic/%name_%version/%sub Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ python_register_multi_toolchains(
9898 name = "python" ,
9999 ignore_root_user_error = True ,
100100 python_versions = [
101- "3.10" ,
102101 "3.11" ,
103102 "3.12" ,
104103 "3.13" ,
Original file line number Diff line number Diff line change @@ -112,6 +112,19 @@ _UUID4_RE = re.compile(r"{{ uuid4_re }}")
112112{% endif %}
113113
114114
115+ @pytest.fixture(autouse=True)
116+ def disable_mtls_env():
117+ with mock.patch.dict(
118+ os.environ,
119+ {
120+ "GOOGLE_API_USE_CLIENT_CERTIFICATE": "false",
121+ "CLOUDSDK_CONTEXT_AWARE_USE_CLIENT_CERTIFICATE": "false",
122+ },
123+ ):
124+ yield
125+
126+
127+
115128async def mock_async_gen(data, chunk_size=1):
116129 for i in range(0, len(data)): # pragma: NO COVER
117130 chunk = data[i : i + chunk_size]
You can’t perform that action at this time.
0 commit comments