Skip to content

The agent that grows with you

test(cli): give the compressed-resume fixture connection a launch_api_key

Teknium0a696119e0db
diff --git a/tests/hermes_cli/test_resume_compressed_gateway_id.py b/tests/hermes_cli/test_resume_compressed_gateway_id.py
index e3f677d2054..070b7f413d0 100644
--- a/tests/hermes_cli/test_resume_compressed_gateway_id.py
+++ b/tests/hermes_cli/test_resume_compressed_gateway_id.py
@@ -63,7 +63,8 @@ def _gateway_store(loop, authority, tmp_path):
from hermes_cli.gateway_session_store import GatewaySessionStore
from hermes_state import SessionDB
states = {}
- connection = types.SimpleNamespace(final=False, state=lambda sid: states.setdefault(sid, SessionState(sid)))
+ connection = types.SimpleNamespace(final=False, launch_api_key=None,
+ state=lambda sid: states.setdefault(sid, SessionState(sid)))
gateway = AuthorityConnection(authority, object(), {
'provider': 'local', 'user_id': 'owner', 'profile_id': 'fixture', 'instance_id': authority.instance_id,
'capabilities': ['session:create', 'session:read', 'session:control']})