Skip to content

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

Python

test: fix project path assertion in test_core.py

54548767785c16c0dce38
diff --git a/unimol_tools/agent-harness/cli_anything/unimol_tools/tests/test_core.py b/unimol_tools/agent-harness/cli_anything/unimol_tools/tests/test_core.py
index 26f1e06f5..a79e4ea3a 100644
--- a/unimol_tools/agent-harness/cli_anything/unimol_tools/tests/test_core.py
+++ b/unimol_tools/agent-harness/cli_anything/unimol_tools/tests/test_core.py
@@ -18,7 +18,8 @@ class TestProjectManagement:
)
assert result["status"] == "created"
- assert "test_project.json" in result["project_path"]
+ assert result["project_path"].endswith("project.json")
+ assert "test_project" in result["project_path"]
# Verify file contents
with open(result["project_path"]) as f: