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 <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,10 @@ TOOLS = [{"type": "function", "function": {
|
|||||||
"required": ["city"]}}}]
|
"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):
|
class ToolCallingE2E(unittest.TestCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|||||||
Reference in New Issue
Block a user