Skip to content

The agent that grows with you

test(pm): carry hermes_dir_acl.py into the minimal source snapshots

Teknium2b64406cb247
diff --git a/tests/pm/test_takeover_preparation.py b/tests/pm/test_takeover_preparation.py
index e6a045672d4..848d43c6974 100644
--- a/tests/pm/test_takeover_preparation.py
+++ b/tests/pm/test_takeover_preparation.py
@@ -22,7 +22,7 @@ def test_fresh_takeover_prepares_generation_and_runs_selected_python(tmp_path):
root.mkdir()
for name in ("pm", "hermes_cli"):
shutil.copytree(source / name, root / name, ignore=shutil.ignore_patterns("__pycache__", "*.pyc"))
- for name in ("hermes_constants.py", "hermes_yaml.py", "utils.py", "hermes_bootstrap.py"):
+ for name in ("hermes_constants.py", "hermes_dir_acl.py", "hermes_yaml.py", "utils.py", "hermes_bootstrap.py"):
shutil.copy2(source / name, root / name)
home, store, wheels = (tmp_path / name for name in ("home", "tools", "wheels"))
for directory in (home, store, wheels):
diff --git a/tests/scripts/test_fresh_source_install.py b/tests/scripts/test_fresh_source_install.py
index 6ad06e2f95f..7b522c260c2 100644
--- a/tests/scripts/test_fresh_source_install.py
+++ b/tests/scripts/test_fresh_source_install.py
@@ -67,7 +67,8 @@ def test_current_installer_publishes_real_dependencies_and_warm_path(tmp_path, s
source.mkdir()
for name in ("pm", "hermes_cli", "hermes_platform"):
shutil.copytree(ROOT / name, source / name, ignore=shutil.ignore_patterns("__pycache__"))
- for name in ("utils.py", "hermes_constants.py", "hermes_yaml.py", "hermes_bootstrap.py", "setup-hermes.sh"):
+ for name in ("utils.py", "hermes_constants.py", "hermes_dir_acl.py", "hermes_yaml.py", "hermes_bootstrap.py",
+ "setup-hermes.sh"):
shutil.copy2(ROOT / name, source / name)
# The CLI's user-facing text resolves through the i18n kernel (agent.i18n + the English catalog),
# and its config/env layer consults the stdlib-only safe-worker policy; the rest of agent/ stays