The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(dashboard): fold the off-loop check into the install invariant
teknium1b7e0713ddb09
diff --git a/tests/hermes_cli/test_dashboard_plugin_routes_secret_scope.py b/tests/hermes_cli/test_dashboard_plugin_routes_secret_scope.pyindex 5dcf59e201f..71048b10fed 100644--- a/tests/hermes_cli/test_dashboard_plugin_routes_secret_scope.py+++ b/tests/hermes_cli/test_dashboard_plugin_routes_secret_scope.py@@ -72,6 +72,7 @@ def test_install_route_reads_the_git_credential_in_profile_scope(client, multiplassert resp.status_code == 200, resp.textassert seen["token"] == "ghp_launch_token"+ assert seen["on_event_loop"] is False # the clone/pull body runs off the event loopdef test_update_route_reads_the_git_credential_in_profile_scope(client, multiplexed, monkeypatch):@@ -84,16 +85,6 @@ def test_update_route_reads_the_git_credential_in_profile_scope(client, multipleassert seen["token"] == "ghp_launch_token"-def test_plugin_mutation_keeps_blocking_work_off_the_event_loop(client, multiplexed, monkeypatch):- seen: dict = {}- _stub_action(monkeypatch, "dashboard_install_plugin", seen)-- assert client.post(- "/api/dashboard/agent-plugins/install", json={"identifier": "owner/repo"}- ).status_code == 200- assert seen["on_event_loop"] is False--def test_failure_and_request_shape_errors_are_unchanged(client, multiplexed, monkeypatch):"""Backward compat: a failed action is still a 400 carrying its own message, and theidentifier/catalog_name check still precedes the scoped body."""