"""Integration tests: run the installed console scripts as real subprocesses.""" import subprocess import pytest pytestmark = pytest.mark.integration @pytest.mark.parametrize("agent", ["nisse-dev", "nisse-ops"]) def test_entry_point_runs_and_greets(agent: str) -> None: result = subprocess.run( [agent], capture_output=True, text=True, timeout=30, check=False ) assert result.returncode == 0 assert result.stdout == f"Hello from {agent}, the house spirit is awake.\n"