Skip to content

The agent that grows with you

test(plugins): skip the install-prompt activation test without uv, like every other admission_env consumer

Teknium807c9a7a5c85
diff --git a/tests/hermes_cli/test_plugin_install_prompt_activation.py b/tests/hermes_cli/test_plugin_install_prompt_activation.py
index 133e8c72c85..669f4f20f4b 100644
--- a/tests/hermes_cli/test_plugin_install_prompt_activation.py
+++ b/tests/hermes_cli/test_plugin_install_prompt_activation.py
@@ -3,11 +3,13 @@ import os
import subprocess
import hermes_yaml as yaml
+import pytest
from hermes_cli import plugins_activation, plugins_cmd
-from tests.pm.test_plugin_survival_contract import admission_env
+from tests.pm.test_plugin_survival_contract import _uv_available, admission_env
[email protected](not _uv_available(), reason="uv not on PATH")
def test_yes_at_the_enable_prompt_activates_the_plugin_in_running_processes(admission_env, monkeypatch): # health: allow F811 -- pytest injects the imported admission_env fixture by parameter name
"""A "y" at "Enable now?" enables the plugin AND nudges the running gateway / Desktop backend
(report_activation), exactly like ``--enable``. Without the nudge a gateway started before the