Skip to content

tests: convert private tool tests to pytest_test and pytest style#3945

Open
rickeylev wants to merge 2 commits into
bazel-contrib:mainfrom
rickeylev:convert-private-tests-pytest
Open

tests: convert private tool tests to pytest_test and pytest style#3945
rickeylev wants to merge 2 commits into
bazel-contrib:mainfrom
rickeylev:convert-private-tests-pytest

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Convert private tool tests (tests/tools/zipapp/ and
tools/private/update_deps/) to pytest_test and pytest style to
be more idiomatic Python tests.

Also converts to use pytest fixtures.

Convert private tool tests (tests/tools/zipapp/ and
tools/private/update_deps/) to pytest_test and pytest style to
be more idiomatic Python tests.

Also converts to use pytest fixtures.
@rickeylev
rickeylev requested a review from aignas as a code owner July 22, 2026 19:35
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@rickeylev

Copy link
Copy Markdown
Collaborator Author

/review

@rickeylev

Copy link
Copy Markdown
Collaborator Author

Nothing notable about using pytest rules in this

Set target_compatible_with = SUPPORTS_BZLMOD on private tool
pytest_test targets to prevent ModuleNotFoundError: No module named
'pytest_bazel' in non-bzlmod CI test matrix runs.
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.

1 participant