Skip to content

The agent that grows with you

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.py
index 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 Path
from typing import Any, Callable, Iterator
import pytest
-import yaml
+import hermes_yaml as yaml
from tests.e2e.core.parity._helpers import hermes_argv, kill_tagged, tagged_pids, wait_until
from tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall, write_hermes_home
diff --git a/tests/e2e/core/providers/_anthropic_helpers.py b/tests/e2e/core/providers/_anthropic_helpers.py
index 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, field
from pathlib import Path
from typing import Any, Callable
-import yaml
+import hermes_yaml as yaml
from tests.fakes.providers.anthropic_messages import MODEL_ID, AnthropicMessagesServer, Response, Responder
from tests.fakes.providers.oauth_token_server import TLSInterceptProxy, make_test_ca
diff --git a/tests/e2e/core/providers/_oauth_helpers.py b/tests/e2e/core/providers/_oauth_helpers.py
index 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, field
from pathlib import Path
from typing import Any, Callable
-import yaml
+import hermes_yaml as yaml
from tests.fakes.providers.anthropic_messages import ApiError, AnthropicMessagesServer, Reply, Response, Text, ToolUse
diff --git a/tests/e2e/core/providers/_openai_helpers.py b/tests/e2e/core/providers/_openai_helpers.py
index 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 Path
from typing import Any, Callable, Iterator
import pytest
-import yaml
+import hermes_yaml as yaml
REPO_ROOT = Path(__file__).resolve().parents[4]
TURN_TIMEOUT = 150.0
diff --git a/tests/e2e/core/windows/_helpers.py b/tests/e2e/core/windows/_helpers.py
index 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, field
from pathlib import Path
from typing import Any, Callable, Iterable
-import yaml
+import hermes_yaml as yaml
from tests.fakes.fake_llm_provider import FakeLLMServer, write_hermes_home
diff --git a/tests/e2e/core/windows/test_boot_lifecycle.py b/tests/e2e/core/windows/test_boot_lifecycle.py
index 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.0
diff --git a/tests/e2e/core/windows/test_cron_scripts.py b/tests/e2e/core/windows/test_cron_scripts.py
index 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 pytest
from 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.py
index 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 StdioGateway
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]
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.py
index 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.py
index 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.py
index 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 StdioGateway
from 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