Skip to content

Tests: the root unit tests move into tests/ - #237

Closed
bdbarnett wants to merge 1 commit into
mainfrom
tests/move-root
Closed

bdbarnett wants to merge 1 commit into
mainfrom
tests/move-root

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The seven test_*.py files at the repository root move into tests/, so the root holds the build command, its pins and the project files.

Each test now finds the repository root from its own path. The workflows and CONTRIBUTING run them with PYTHONPATH=tests, and ci_scope.py treats tests/** as inert, as it did the root test files. CONTRIBUTING's layout table gains tests/, and it now lists test_ci_scope and test_lib_overrides with the rest.

All seven files ran before and after the move: 125 tests, OK, 3 skipped, both times.

The seven test_*.py files at the root move into tests/. Each finds the repo
root from its own path, the workflows and CONTRIBUTING run them with
PYTHONPATH=tests, and ci_scope treats tests/** as inert, as it did the root
test files.
@bdbarnett

Copy link
Copy Markdown
Contributor Author

Replaced by #240, the same change rebased onto #239.

@bdbarnett bdbarnett closed this Oct 31, 2026
@bdbarnett
bdbarnett deleted the tests/move-root branch October 31, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant