From 57999979ea8a0ce2a1d7e3e4460b02c92d460a37 Mon Sep 17 00:00:00 2001 From: cpacker Date: Mon, 30 Dec 2024 21:14:18 +0100 Subject: [PATCH] fix: test --- tests/test_tool_schema_parsing.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_tool_schema_parsing.py b/tests/test_tool_schema_parsing.py index 3c7b7884..151329c0 100644 --- a/tests/test_tool_schema_parsing.py +++ b/tests/test_tool_schema_parsing.py @@ -199,10 +199,7 @@ def test_composio_tool_schema_generation(openai_model: str, structured_output: b tool_create = ToolCreate.from_composio(action_name=action_name) except composio.exceptions.ComposioSDKError: # e.g. "composio.exceptions.ComposioSDKError: No connected account found for app `CAL`; Run `composio add cal` to fix this" - if "No connected account found for app" in str(composio.exceptions.ComposioSDKError): - pytest.skip(f"Composio account not figured to use action_name {action_name}") - else: - raise + pytest.skip(f"Composio account not configured to use action_name {action_name}") print(tool_create)