test: add shared pytest manifest fixtures - #1967
Merged
codeforester merged 2 commits intoAug 19, 2026
Merged
Conversation
Refactor the duplicated Base manifest setup in the trust and projects test suites onto shared pytest fixtures.\n\nFixes #1912
codeforester
deleted the
enhancement/1912-20260819-introduce-shared-pytest-fixtures-for-manifest-project-root-t
branch
August 19, 2026 11:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the first incremental slice of #1912. The remaining base_pr_policy and base_release migrations are intentionally left for follow-up work.
Validation
BASE_CLI_SOURCE_DIR=/Users/rameshhp/work/base-cli/lib/python PYTHONPATH=/Users/rameshhp/work/base-cli/lib/python:lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest -q tests/test_shared_fixtures.py cli/python/base_trust/tests/test_engine.py cli/python/base_projects/tests/test_engine.pyTZ=UTC BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash BASE_CLI_SOURCE_DIR=/Users/rameshhp/work/base-cli/lib/python env -u BASE_HOME ./bin/base-testgit diff --checkThe default local timezone is Asia/Kolkata, while the existing host-timezone history test assumes UTC; the full harness passes with
TZ=UTC.AI context
No update needed: this is test-only infrastructure with no product behavior or architecture change.
Demo Impact
None.