The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(plugins): cmd_remove mock declares plugins_dir/name a real dir, not a symlink
teknium1520375b489dc
diff --git a/tests/hermes_cli/test_plugins_cmd.py b/tests/hermes_cli/test_plugins_cmd.pyindex 99da7f89466..285dbf14cda 100644--- a/tests/hermes_cli/test_plugins_cmd.py+++ b/tests/hermes_cli/test_plugins_cmd.py@@ -482,6 +482,8 @@ class TestCmdRemove:from hermes_cli.plugins_cmd import cmd_removemock_plugins_dir.return_value = MagicMock()+ # ``plugins_dir / name`` is a real directory here, not a symlink (the link case unlinks only).+ mock_plugins_dir.return_value.__truediv__.return_value.is_symlink.return_value = Falsemock_target = MagicMock()mock_target.exists.return_value = Truemock_sanitize.return_value = mock_target