Skip to content

chore(ndb): Add nox sessions for system tests#16530

Open
vbraun wants to merge 1 commit intogoogleapis:mainfrom
vbraun:cloud-ndb-nox-session-emulator
Open

chore(ndb): Add nox sessions for system tests#16530
vbraun wants to merge 1 commit intogoogleapis:mainfrom
vbraun:cloud-ndb-nox-session-emulator

Conversation

@vbraun
Copy link
Copy Markdown

@vbraun vbraun commented Apr 2, 2026

This just adds the nox session decorators so you can run the system tests with

cd packages/google-cloud-ndb
nox -s emulator_system

The actual system tests don't pass, though.

See also #15866 (comment)

This just adds the nox session decorators so you can run the system
tests with
```
cd packages/google-cloud-ndb
nox -s emulator_system
```

The actual system tests don't pass, though.

See also googleapis#15866 (comment)
@vbraun vbraun requested review from a team as code owners April 2, 2026 11:26
Copy link
Copy Markdown
Contributor

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

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 packages/google-cloud-ndb/noxfile.py to expose the old_emulator_system and emulator_system functions as Nox sessions across all interpreters. A review comment suggests removing the session decorator from old_emulator_system to avoid developer confusion, as the prefix implies it may be deprecated or not intended for standard use.

Comment on lines +192 to 193
@nox.session(python=ALL_INTERPRETERS)
def old_emulator_system(session):
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.

medium

Exposing a function named old_emulator_system as a nox session can be confusing for developers, as the old_ prefix suggests it might be deprecated. If this function is not intended for regular use, it would be better not to expose it as a top-level session to avoid confusion. Please consider removing the @nox.session decorator.

Suggested change
@nox.session(python=ALL_INTERPRETERS)
def old_emulator_system(session):
def old_emulator_system(session):

@daniel-sanche daniel-sanche changed the title Add nox sessions for system tests chore(ndb): Add nox sessions for system tests Apr 2, 2026
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