Skip to content

tests: include google-cloud-core as core dependency - #19230

Draft
daniel-sanche wants to merge 3 commits into
mainfrom
python_bug_burndown_track_five_prep_01a_universe-domain-mocks
Draft

daniel-sanche wants to merge 3 commits into
mainfrom
python_bug_burndown_track_five_prep_01a_universe-domain-mocks

Conversation

@daniel-sanche

@daniel-sanche daniel-sanche commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

add google-cloud-core to the core_deps list in the gapic template, so changes to it will trigger tests for handwritten libraries whenever a file is modified

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates unit tests across multiple Google Cloud Python packages—including BigQuery, Firestore, Logging, Datastore, DNS, Bigtable, and NDB—to explicitly set the universe_domain (defaulting to "googleapis.com") on mocked credentials. Additionally, it adds google-cloud-core as a dependency in several noxfile.py configurations and refactors Firestore emulator tests to patch os.environ instead of os.getenv. I have no feedback to provide as there are no review comments and the changes are clean and consistent.

@daniel-sanche daniel-sanche changed the title tests: pass universe_domain in credential mocks tests: include google-cloud-core as core dependency Nov 26, 2026

@parthea parthea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: google-cloud-core isn't a dependency of generated GAPICs. This could be part of the handwritten customization rather than included in the generated GAPICs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants