René's URL Explorer Experiment


Title: fix(gapic): mock os.path.exists in mTLS tests to support newer google auth by chalmerlowe · Pull Request #17807 · googleapis/google-cloud-python · GitHub

Open Graph Title: fix(gapic): mock os.path.exists in mTLS tests to support newer google auth by chalmerlowe · Pull Request #17807 · googleapis/google-cloud-python

X Title: fix(gapic): mock os.path.exists in mTLS tests to support newer google auth by chalmerlowe · Pull Request #17807 · googleapis/google-cloud-python

Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.

Open Graph Description: This PR fixes a test failure in the generated goldens related to mTLS (mutual Transport Layer Security) configuration. Problem A recent update to the google-auth library (specifically how it discov...

X Description: This PR fixes a test failure in the generated goldens related to mTLS (mutual Transport Layer Security) configuration. Problem A recent update to the google-auth library (specifically how it discov...

Opengraph URL: https://github.com/googleapis/google-cloud-python/pull/17807

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c1e24af6-f751-26c8-9f24-38919acf868a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD48:1E32CA:46EF95:64EAF2:6AFDE852
html-safe-nonce49ac94f6052fe719e177b9d8078575d02dc7978538238b0b13418bf291f3cb47
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQ4OjFFMzJDQTo0NkVGOTU6NjRFQUYyOjZBRkRFODUyIiwidmlzaXRvcl9pZCI6IjcwNDYyMDE5MzMxODIxMzQzNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfa1c62db5c695cb056eb727332527cd7280769448b3998379113cfbe6011b508
hovercard-subject-tagpull_request:4101254620
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-cloud-python/17807/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c02e36bde628eabfdbb5db33b2a774e01856a06b1d822716d963f8076bf81300/googleapis/google-cloud-python/pull/17807
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c02e36bde628eabfdbb5db33b2a774e01856a06b1d822716d963f8076bf81300/googleapis/google-cloud-python/pull/17807
og:image:altThis PR fixes a test failure in the generated goldens related to mTLS (mutual Transport Layer Security) configuration. Problem A recent update to the google-auth library (specifically how it discov...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechalmerlowe
hostnamegithub.com
expected-hostnamegithub.com
None91ef1a291a064ac31ac459ab3f75261dbdd924c41ea5bd027e591c5b46cc9ce7
turbo-cache-controlno-cache
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released62bc98ce2346f4006e4a2810e9e22f37e7e6422
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/17807#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17807
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17807
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17807
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17807
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17807
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues448 (448)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
chalmerlowehttps://github.com/chalmerlowe
mainhttps://github.com/googleapis/google-cloud-python/tree/main
fix/mock-path-exists-in-mtls-testshttps://github.com/googleapis/google-cloud-python/tree/fix/mock-path-exists-in-mtls-tests
Conversationhttps://github.com/googleapis/google-cloud-python/pull/17807
Commits5 (5)https://github.com/googleapis/google-cloud-python/pull/17807/commits
Checkshttps://github.com/googleapis/google-cloud-python/pull/17807/checks
Files changedhttps://github.com/googleapis/google-cloud-python/pull/17807/files
fix(gapic): mock os.path.exists in mTLS tests to support newer google authhttps://github.com/googleapis/google-cloud-python/pull/17807#top
chalmerlowehttps://github.com/chalmerlowe
mainhttps://github.com/googleapis/google-cloud-python/tree/main
fix/mock-path-exists-in-mtls-testshttps://github.com/googleapis/google-cloud-python/tree/fix/mock-path-exists-in-mtls-tests
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#issue-4940850659
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/chalmerlowe
fix(gapic): mock os.path.exists in mTLS tests to support newer google…https://github.com/googleapis/google-cloud-python/pull/17807/commits/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c
9c0671bhttps://github.com/googleapis/google-cloud-python/pull/17807/commits/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17807#pullrequestreview-4746645786
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17807/files/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17807#pullrequestreview-4746645786
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
...ges/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2https://github.com/googleapis/google-cloud-python/pull/17807/files/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c#diff-2b83b580eb876eb891b11d0c6e16d07332d809765b092c31d96ab40a977bf3b2
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
...ges/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2https://github.com/googleapis/google-cloud-python/pull/17807/files/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c#diff-2b83b580eb876eb891b11d0c6e16d07332d809765b092c31d96ab40a977bf3b2
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/parthea
partheahttps://github.com/parthea
chalmerlowehttps://github.com/chalmerlowe
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#event-28280691196
https://github.com/chalmerlowe
fix(gapic): use safer mock for os.path.exists in mTLS testshttps://github.com/googleapis/google-cloud-python/pull/17807/commits/926a96f7f3930b976fb610238fa8fdf56c37ec45
926a96fhttps://github.com/googleapis/google-cloud-python/pull/17807/commits/926a96f7f3930b976fb610238fa8fdf56c37ec45
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
force-pushedhttps://github.com/googleapis/google-cloud-python/compare/881f77fbf1ec36f749704a85a8e989e1af7fa1b8..926a96f7f3930b976fb610238fa8fdf56c37ec45
881f77fhttps://github.com/googleapis/google-cloud-python/commit/881f77fbf1ec36f749704a85a8e989e1af7fa1b8
926a96fhttps://github.com/googleapis/google-cloud-python/commit/926a96f7f3930b976fb610238fa8fdf56c37ec45
Compare https://github.com/googleapis/google-cloud-python/compare/881f77fbf1ec36f749704a85a8e989e1af7fa1b8..926a96f7f3930b976fb610238fa8fdf56c37ec45
July 21, 2026 16:58https://github.com/googleapis/google-cloud-python/pull/17807#event-28281996325
chalmerlowehttps://github.com/chalmerlowe
July 21, 2026 13:13https://github.com/googleapis/google-cloud-python/pull/17807#commits-pushed-908faf5
https://github.com/chalmerlowe
chore(gapic): update goldens to match generator outputhttps://github.com/googleapis/google-cloud-python/pull/17807/commits/908faf50ba51a6c03c1fed87a026d312300e3e64
908faf5https://github.com/googleapis/google-cloud-python/pull/17807/commits/908faf50ba51a6c03c1fed87a026d312300e3e64
https://github.com/chalmerlowe
chore(gapic): update eventarc golden to match generator outputhttps://github.com/googleapis/google-cloud-python/pull/17807/commits/1e9a1620e3fedccaf11c9733c6bd4ac26d91c25c
1e9a162https://github.com/googleapis/google-cloud-python/pull/17807/commits/1e9a1620e3fedccaf11c9733c6bd4ac26d91c25c
https://github.com/chalmerlowe
chore(gapic): update credentials golden to match generator outputhttps://github.com/googleapis/google-cloud-python/pull/17807/commits/610665346b729ade32d1231ed5081a7323cd3010
6106653https://github.com/googleapis/google-cloud-python/pull/17807/commits/610665346b729ade32d1231ed5081a7323cd3010
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17807#pullrequestreview-4747903170
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
July 21, 2026 18:37https://github.com/googleapis/google-cloud-python/pull/17807#event-28286464212
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
code ownerhttps://github.com/googleapis/google-cloud-python/blob/1a10e236b26b0e23e5c7d1318ae86c9a1e05ca37/.github/CODEOWNERS#L29
July 21, 2026 18:37https://github.com/googleapis/google-cloud-python/pull/17807#event-28286464800
https://github.com/ohmayr
ohmayrhttps://github.com/ohmayr
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17807#pullrequestreview-4748041466
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
...ebatchoperations/tests/unit/gapic/storagebatchoperations_v1/test_storage_batch_operations.pyhttps://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010#diff-5883ec1916fd378ffd2c97c81916ea3aedbb99aa3fdc93addf6097aa9e3e6af7
ohmayrhttps://github.com/ohmayr
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#discussion_r3624875953
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
ohmayrhttps://github.com/ohmayr
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#discussion_r3624881033
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
chalmerlowehttps://github.com/chalmerlowe
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#discussion_r3625118588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17807#pullrequestreview-4748146515
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
df0541ahttps://github.com/googleapis/google-cloud-python/commit/df0541abf6aae710fc3e6644a5d8f3f706d29c5a
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17807#event-28288783184
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
July 21, 2026 19:29https://github.com/googleapis/google-cloud-python/pull/17807#event-28288785011
https://github.com/apps/release-please
release-pleasehttps://github.com/apps/release-please
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17807#ref-pullrequest-4941396680
chore: release main #17809 https://github.com/googleapis/google-cloud-python/pull/17809
feat(google/cloud/agentidentitycredentials/v1beta): add new v1beta1 version #17823 https://github.com/googleapis/google-cloud-python/pull/17823
python: unit test is failing with auth mock objects googleapis/librarian#6967 https://github.com/googleapis/librarian/issues/6967
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17807
https://github.com/ohmayr
ohmayr https://github.com/ohmayr
https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
https://github.com/daniel-sanche
daniel-sanche https://github.com/daniel-sanche
https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17807/files/9c0671b5c0a27e6fe3a4ef46f3d84478a826830c
https://github.com/hebaalazzeh
hebaalazzeh https://github.com/hebaalazzeh
https://github.com/googleapis/google-cloud-python/pull/17807/files/610665346b729ade32d1231ed5081a7323cd3010
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/chalmerlowe
chalmerlowe https://github.com/chalmerlowe
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17807
https://github.com/chalmerlowe
https://github.com/daniel-sanche
https://github.com/ohmayr
https://github.com/hebaalazzeh
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.