Skip to content

The agent that grows with you

test: seed all three runtime trees on the named-source clone-all control

teknium18bac5c2d7b48
diff --git a/tests/hermes_cli/test_profiles.py b/tests/hermes_cli/test_profiles.py
index 981872862fb..663af0fce5a 100644
--- a/tests/hermes_cli/test_profiles.py
+++ b/tests/hermes_cli/test_profiles.py
@@ -1299,13 +1299,14 @@ class TestCloneAllExcludesRuntimeTrees:
nested = ignore(str(default_home / "skills" / "greet"), ["models", "SKILL.md"])
assert set(at_root) == set(self.RUNTIME_TREES)
- assert nested == []
+ assert not nested
# Gated on the default profile: a named profile that really has a
# models/ dir of its own must not have it dropped when used as source.
source = create_profile("source", no_alias=True)
- (source / "models").mkdir()
- assert _clone_all_copytree_ignore(source)(str(source), ["models", "runtimes", "node", "SOUL.md"]) == []
+ for tree in self.RUNTIME_TREES:
+ (source / tree).mkdir()
+ assert not _clone_all_copytree_ignore(source)(str(source), [*self.RUNTIME_TREES, "SOUL.md"])
def test_clone_all_from_default_skips_runtime_trees_but_keeps_the_rest(self, profile_env):
default_home = profile_env / ".hermes"