From 0f606bc4465df0473f39e809f9510b318708631e Mon Sep 17 00:00:00 2001 From: JustVugg Date: Sun, 19 Jul 2026 11:01:26 +0200 Subject: [PATCH] test: skip the tools e2e suite on Windows (shebang mock engine) CreateProcess cannot exec a shebang script, so the gateway exits during setUpClass on the windows CI job. The gateway logic under test is platform-independent and stays covered by the POSIX jobs. Co-Authored-By: Claude Fable 5 --- c/tests/test_openai_tools_e2e.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c/tests/test_openai_tools_e2e.py b/c/tests/test_openai_tools_e2e.py index 3eabee1..d921843 100644 --- a/c/tests/test_openai_tools_e2e.py +++ b/c/tests/test_openai_tools_e2e.py @@ -68,6 +68,10 @@ TOOLS = [{"type": "function", "function": { "required": ["city"]}}}] +@unittest.skipUnless(os.name == "posix", + "the mock engine is a shebang script the gateway execs directly; " + "Windows CreateProcess cannot run it. The gateway logic under test " + "is platform-independent and covered by the POSIX CI jobs.") class ToolCallingE2E(unittest.TestCase): @classmethod def setUpClass(cls):