mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 12:42:49 +00:00
Match watchdog Git fixtures to the checkout ignore policy
The first exact offline suite passed the metadata cases but the clean-tree assertion saw Python import bytecode because the fixture omitted the real .gitignore. Copy that existing policy into the fixture, retaining the source/no-mutation assertion. Contract-Neutral: Fixture setup now copies the existing repository ignore policy; runtime and deployment contracts are unchanged. Change-source: pulse-maintainer
This commit is contained in:
@@ -37,7 +37,9 @@ class RehearsalSourceTest(unittest.TestCase):
|
||||
self.git("config", "user.email", "fixture@example.invalid")
|
||||
self.git("config", "user.name", "Fixture")
|
||||
self.git("config", "core.hooksPath", "/dev/null")
|
||||
for name in ("scripts/release_control/control_plane.py",
|
||||
# Match the real checkout's generated-file policy, including Python's
|
||||
# import cache, while still detecting any uncommitted source change.
|
||||
for name in (".gitignore", "scripts/release_control/control_plane.py",
|
||||
"scripts/release_control/repo_file_io.py",
|
||||
"scripts/release_control/resolve_release_promotion.py",
|
||||
"docs/release-control/control_plane.json"):
|
||||
|
||||
Reference in New Issue
Block a user