Skip to content

Commit 30478e0

Browse files
committed
fix build
1 parent cfbbbe1 commit 30478e0

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

packages/gapic-generator/WORKSPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

packages/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
115128
async 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]

0 commit comments

Comments
 (0)