The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: run the waiter's Windows-argv check on Windows, not under a faked sys.platform
teknium12dee1e4640c4
diff --git a/tests/tools/test_bot_relay_windows_paths.py b/tests/tools/test_bot_relay_windows_paths.pyindex 6e489a18b04..8592afcbfb0 100644--- a/tests/tools/test_bot_relay_windows_paths.py+++ b/tests/tools/test_bot_relay_windows_paths.py@@ -22,6 +22,8 @@ Two failures on a Windows desktop install talking to a remote gateway:import shlexfrom pathlib import Path+import pytest+import tools.bot_mode_dm as bot_mode_dmimport tools.bot_relay as bot_relay@@ -29,10 +31,10 @@ import tools.bot_relay as bot_relayENV = {"id": "d" * 32, "target_handle": "researcher", "target_connection": "ssh-vps"}-def test_waiter_argv_uses_forward_slashes_on_windows(monkeypatch):[email protected]_only+def test_waiter_argv_uses_forward_slashes_on_windows():"""On native Windows the reply path rides as a forward-slash argv element, like the deliveryrunner's paths: Git Bash runs those, and parses a backslash path as a command name."""- monkeypatch.setattr(bot_relay.sys, "platform", "win32")parts = shlex.split(bot_relay.waiter_command("C:\\Users\\joshu\\.hermes", ENV))assert "-c" not in parts and "--wait-reply" in parts