Skip to content

Commit

Permalink
Silence tests in staging (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere authored Mar 21, 2024
1 parent 6064382 commit 681424e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ async def test_connectors_crud(self) -> None:

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

@unittest.skipIf(os.getenv("CO_API_URL") is not None, "Doesn't work in staging.")
async def test_tool_use(self) -> None:
tools = [
Tool(
Expand Down
1 change: 1 addition & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def test_connectors_crud(self) -> None:

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

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

0 comments on commit 681424e

Please sign in to comment.