Skip to content

Commit 681424e

Browse files
Silence tests in staging (#420)
1 parent 6064382 commit 681424e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_async_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ async def test_connectors_crud(self) -> None:
240240

241241
await self.co.connectors.delete(created_connector.connector.id)
242242

243+
@unittest.skipIf(os.getenv("CO_API_URL") is not None, "Doesn't work in staging.")
243244
async def test_tool_use(self) -> None:
244245
tools = [
245246
Tool(

tests/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def test_connectors_crud(self) -> None:
238238

239239
co.connectors.delete(created_connector.connector.id)
240240

241+
@unittest.skipIf(os.getenv("CO_API_URL") is not None, "Doesn't work in staging.")
241242
def test_tool_use(self) -> None:
242243
tools = [
243244
Tool(

0 commit comments

Comments
 (0)