mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:04:41 +00:00
Revert "fix(tests): force manual approval mode in E2E blocking tests"
This reverts commit 55624e10b9.
This commit is contained in:
parent
af7dceaf77
commit
6ce160a5a0
1 changed files with 0 additions and 12 deletions
|
|
@ -421,18 +421,6 @@ class TestBlockingApprovalE2E:
|
|||
os.environ.pop("HERMES_GATEWAY_SESSION", None)
|
||||
os.environ.pop("HERMES_EXEC_ASK", None)
|
||||
os.environ.pop("HERMES_SESSION_KEY", None)
|
||||
# Force manual approval mode — these tests exercise the blocking
|
||||
# gateway flow, not smart approval. The default became "smart"
|
||||
# (#62661), which routes through _smart_approve() first and
|
||||
# delays the notify callback past the test's wait window.
|
||||
self._approval_mode_patch = patch(
|
||||
"tools.approval._get_approval_config",
|
||||
return_value={"mode": "manual"},
|
||||
)
|
||||
self._approval_mode_patch.start()
|
||||
|
||||
def teardown_method(self):
|
||||
self._approval_mode_patch.stop()
|
||||
|
||||
def test_blocking_approval_approve_once(self):
|
||||
"""check_all_command_guards blocks until resolve_gateway_approval is called."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue