mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
Merge branch 'main' into feat/dashboard-skill-analytics
This commit is contained in:
commit
720e1c65b2
1022 changed files with 157411 additions and 17823 deletions
|
|
@ -1199,6 +1199,7 @@ class TestStatusRemoteGateway:
|
|||
assert data["gateway_running"] is True
|
||||
assert data["gateway_pid"] == 999
|
||||
assert data["gateway_state"] == "running"
|
||||
assert data["gateway_health_url"] == "http://gw:8642"
|
||||
|
||||
def test_status_remote_probe_not_attempted_when_local_pid_found(self, monkeypatch):
|
||||
"""When local PID check succeeds, the remote probe is never called."""
|
||||
|
|
@ -1235,6 +1236,7 @@ class TestStatusRemoteGateway:
|
|||
assert resp.status_code == 200
|
||||
data = resp.json()
|
||||
assert data["gateway_running"] is False
|
||||
assert data["gateway_health_url"] is None
|
||||
|
||||
def test_status_remote_running_null_pid(self, monkeypatch):
|
||||
"""Remote gateway running but PID not in response — pid should be None."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue