The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e): use PM YAML and current Windows platform marker
ethernet090dd24638d1
diff --git a/tests/e2e/core/mcp_plugins/_helpers.py b/tests/e2e/core/mcp_plugins/_helpers.pyindex 887c3bcb089..ed90bf79db1 100644--- a/tests/e2e/core/mcp_plugins/_helpers.py+++ b/tests/e2e/core/mcp_plugins/_helpers.py@@ -24,7 +24,7 @@ from pathlib import Pathfrom typing import Any, Callable, Iteratorimport pytest-import yaml+import hermes_yaml as yamlfrom tests.e2e.core.parity._helpers import hermes_argv, kill_tagged, tagged_pids, wait_untilfrom tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall, write_hermes_homediff --git a/tests/e2e/core/providers/_anthropic_helpers.py b/tests/e2e/core/providers/_anthropic_helpers.pyindex d97534f0832..ef49cf29d9d 100644--- a/tests/e2e/core/providers/_anthropic_helpers.py+++ b/tests/e2e/core/providers/_anthropic_helpers.py@@ -25,7 +25,7 @@ from dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import Any, Callable-import yaml+import hermes_yaml as yamlfrom tests.fakes.providers.anthropic_messages import MODEL_ID, AnthropicMessagesServer, Response, Responderfrom tests.fakes.providers.oauth_token_server import TLSInterceptProxy, make_test_cadiff --git a/tests/e2e/core/providers/_oauth_helpers.py b/tests/e2e/core/providers/_oauth_helpers.pyindex 2720b3302f6..375dbc63bdd 100644--- a/tests/e2e/core/providers/_oauth_helpers.py+++ b/tests/e2e/core/providers/_oauth_helpers.py@@ -19,7 +19,7 @@ from dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import Any, Callable-import yaml+import hermes_yaml as yamlfrom tests.fakes.providers.anthropic_messages import ApiError, AnthropicMessagesServer, Reply, Response, Text, ToolUsediff --git a/tests/e2e/core/providers/_openai_helpers.py b/tests/e2e/core/providers/_openai_helpers.pyindex d9061f7a99e..2bcea3b36a6 100644--- a/tests/e2e/core/providers/_openai_helpers.py+++ b/tests/e2e/core/providers/_openai_helpers.py@@ -21,7 +21,7 @@ from pathlib import Pathfrom typing import Any, Callable, Iteratorimport pytest-import yaml+import hermes_yaml as yamlREPO_ROOT = Path(__file__).resolve().parents[4]TURN_TIMEOUT = 150.0diff --git a/tests/e2e/core/windows/_helpers.py b/tests/e2e/core/windows/_helpers.pyindex 1984dea5711..e4b4cc47e56 100644--- a/tests/e2e/core/windows/_helpers.py+++ b/tests/e2e/core/windows/_helpers.py@@ -25,7 +25,7 @@ from dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import Any, Callable, Iterable-import yaml+import hermes_yaml as yamlfrom tests.fakes.fake_llm_provider import FakeLLMServer, write_hermes_homediff --git a/tests/e2e/core/windows/test_boot_lifecycle.py b/tests/e2e/core/windows/test_boot_lifecycle.pyindex fbbc6634cc9..8e8f85c32a1 100644--- a/tests/e2e/core/windows/test_boot_lifecycle.py+++ b/tests/e2e/core/windows/test_boot_lifecycle.py@@ -49,7 +49,7 @@ from tests.fakes.fake_llm_provider import FakeLLMServer, Text# Real process-tree kills (taskkill /T /F, psutil) of children this test spawned with a# scratch USERPROFILE/HERMES_HOME; the live-system guard would refuse the taskkill argv.-pytestmark = [pytest.mark.windows_only, pytest.mark.integration, pytest.mark.live_system_guard_bypass]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration, pytest.mark.live_system_guard_bypass]READY_TIMEOUT = 120.0diff --git a/tests/e2e/core/windows/test_cron_scripts.py b/tests/e2e/core/windows/test_cron_scripts.pyindex d588d3f0432..72ec9013924 100644--- a/tests/e2e/core/windows/test_cron_scripts.py+++ b/tests/e2e/core/windows/test_cron_scripts.py@@ -23,7 +23,7 @@ import pytestfrom tests.e2e.core.windows._helpers import WinHome, expect, hermes, known, make_home, nonce-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]KNOWN: dict[str, str] = {"sh_script": "#120504 cron .sh scripts resolve bash via bare PATH lookup (WSL stub), not Git Bash",diff --git a/tests/e2e/core/windows/test_prompt_paths.py b/tests/e2e/core/windows/test_prompt_paths.pyindex 410184fac9d..cc625f74863 100644--- a/tests/e2e/core/windows/test_prompt_paths.py+++ b/tests/e2e/core/windows/test_prompt_paths.py@@ -32,7 +32,7 @@ from tests.e2e.core.windows._helpers import (from tests.e2e.core.windows._rpc import StdioGatewayfrom tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]KNOWN: dict[str, str] = {"native-backslash": "#121150 subdirectory hints never load from native Windows paths (POSIX shlex)",diff --git a/tests/e2e/core/windows/test_state_db_guard.py b/tests/e2e/core/windows/test_state_db_guard.pyindex ef711206b73..af762dc633b 100644--- a/tests/e2e/core/windows/test_state_db_guard.py+++ b/tests/e2e/core/windows/test_state_db_guard.py@@ -28,7 +28,7 @@ from tests.e2e.core.windows._helpers import ()from tests.fakes.fake_llm_provider import FakeLLMServer-pytestmark = [pytest.mark.windows_only, pytest.mark.integration, pytest.mark.live_system_guard_bypass]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration, pytest.mark.live_system_guard_bypass]KNOWN: dict[str, str] = {"foreign_holder": "#120205 foreign_state_db_holders() returns [] on Windows; the write-guard never refuses",diff --git a/tests/e2e/core/windows/test_terminal_tool.py b/tests/e2e/core/windows/test_terminal_tool.pyindex 60e8d7354e4..ca228c6c58e 100644--- a/tests/e2e/core/windows/test_terminal_tool.py+++ b/tests/e2e/core/windows/test_terminal_tool.py@@ -26,7 +26,7 @@ from tests.e2e.core.windows._helpers import ()from tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]# shell -> (command template, exit code, extra marker the output must carry)SHELLS: dict[str, tuple[str, int, str]] = {diff --git a/tests/e2e/core/windows/test_unicode_input.py b/tests/e2e/core/windows/test_unicode_input.pyindex 303e730fd31..8bd2f9571a7 100644--- a/tests/e2e/core/windows/test_unicode_input.py+++ b/tests/e2e/core/windows/test_unicode_input.py@@ -34,7 +34,7 @@ from tests.e2e.core.windows._helpers import (from tests.e2e.core.windows._rpc import StdioGatewayfrom tests.fakes.fake_llm_provider import FakeLLMServer, Text-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]KNOWN: dict[str, str] = {} # nothing red on origin/main in this file