The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(webhook): isolate profile subscription fixture
fangliquanflqe0e3dc93419f
diff --git a/tests/hermes_cli/test_webhook_cli.py b/tests/hermes_cli/test_webhook_cli.pyindex 819079ee247..18828daa30f 100644--- a/tests/hermes_cli/test_webhook_cli.py+++ b/tests/hermes_cli/test_webhook_cli.py@@ -67,9 +67,8 @@ class TestSubscribe:secret = _load_subscriptions()["s"]["secret"]assert len(secret) > 20- def test_profile_binding_and_secret_survive_update(self, tmp_path, capsys, monkeypatch):- monkeypatch.setattr("hermes_cli.profiles.Path.home", lambda: tmp_path)- profile_dir = tmp_path / ".hermes" / "profiles" / "compta"+ def test_profile_binding_and_secret_survive_update(self, tmp_path, capsys):+ profile_dir = tmp_path / "profiles" / "compta"profile_dir.mkdir(parents=True)webhook_command(_make_args(