Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit a1a1b73

Browse files
committed
added no cover statement
1 parent 1b6d208 commit a1a1b73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • gapic/templates/%namespace/%name_%version/%sub/services/%service

gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class {{ service.client_name }}(metaclass={{ service.client_name }}Meta):
197197
GOOGLE_API_USE_CLIENT_CERTIFICATE is set to an unexpected value.)
198198
"""
199199
# check if google-auth version supports should_use_client_cert for automatic mTLS enablement
200-
if hasattr(mtls, "should_use_client_cert"):
200+
if hasattr(mtls, "should_use_client_cert"): # pragma: NO COVER
201201
return mtls.should_use_client_cert()
202202
else: # pragma: NO COVER
203203
# if unsupported, fallback to reading from env var

0 commit comments

Comments
 (0)