The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tests): select launchd restart tests on macOS
KoNit-K8624e632fd9f
diff --git a/tests/ci/test_list_os_marked_tests.py b/tests/ci/test_list_os_marked_tests.pyindex 9b44a7596c9..5404fdd211d 100644--- a/tests/ci/test_list_os_marked_tests.py+++ b/tests/ci/test_list_os_marked_tests.py@@ -134,3 +134,11 @@ def test_real_tree_selects_files_for_every_marker():assert listed, f"{marker} selected no files"for rel in listed:assert (REPO_ROOT / rel).is_file(), f"{marker} listed missing {rel}"+++def test_macos_marker_selects_launchd_fleet_restart_coverage():+ """The macOS lane must import the launchd-specific update regression."""+ result = _run("macos_only")++ assert result.returncode == 0, result.stderr+ assert "tests/hermes_cli/test_update_launchd_fleet_restart.py" in result.stdout.split()diff --git a/tests/hermes_cli/test_update_launchd_fleet_restart.py b/tests/hermes_cli/test_update_launchd_fleet_restart.pyindex 26d0b9737c5..6b41af21ad1 100644--- a/tests/hermes_cli/test_update_launchd_fleet_restart.py+++ b/tests/hermes_cli/test_update_launchd_fleet_restart.py@@ -39,10 +39,13 @@ from hermes_cli.update_cmd import ()-pytestmark = pytest.mark.skipif(- sys.platform == "win32",- reason="launchd fleet restart is macOS-only; helpers use POSIX os.getuid",-)+pytestmark = [+ pytest.mark.macos_only,+ pytest.mark.skipif(+ sys.platform == "win32",+ reason="launchd fleet restart is macOS-only; helpers use POSIX os.getuid",+ ),+]UID = 501