diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 69af4c2c..0e721a35 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.8" + ".": "0.2.9" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 83f86931..23654b97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.2.9 (2025-08-12) + +Full Changelog: [v0.2.8...v0.2.9](https://github.com/scaleapi/agentex-python/compare/v0.2.8...v0.2.9) + +### Chores + +* **internal:** update test skipping reason ([4affc92](https://github.com/scaleapi/agentex-python/commit/4affc925c69ed626d429732b470d4d1535b1be8d)) + ## 0.2.8 (2025-08-09) Full Changelog: [v0.2.7...v0.2.8](https://github.com/scaleapi/agentex-python/compare/v0.2.7...v0.2.8) diff --git a/pyproject.toml b/pyproject.toml index 349189d7..91e307f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentex-sdk" -version = "0.2.8" +version = "0.2.9" description = "The official Python library for the agentex API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/agentex/_version.py b/src/agentex/_version.py index a0211692..8dee7ddd 100644 --- a/src/agentex/_version.py +++ b/src/agentex/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "agentex" -__version__ = "0.2.8" # x-release-please-version +__version__ = "0.2.9" # x-release-please-version diff --git a/tests/api_resources/messages/test_batch.py b/tests/api_resources/messages/test_batch.py index 9ad5e59c..a572047a 100644 --- a/tests/api_resources/messages/test_batch.py +++ b/tests/api_resources/messages/test_batch.py @@ -17,7 +17,7 @@ class TestBatch: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Agentex) -> None: batch = client.messages.batch.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Agentex) -> None: ) assert_matches_type(BatchCreateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Agentex) -> None: response = client.messages.batch.with_raw_response.create( @@ -49,7 +49,7 @@ def test_raw_response_create(self, client: Agentex) -> None: batch = response.parse() assert_matches_type(BatchCreateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Agentex) -> None: with client.messages.batch.with_streaming_response.create( @@ -69,7 +69,7 @@ def test_streaming_response_create(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Agentex) -> None: batch = client.messages.batch.update( @@ -83,7 +83,7 @@ def test_method_update(self, client: Agentex) -> None: ) assert_matches_type(BatchUpdateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Agentex) -> None: response = client.messages.batch.with_raw_response.update( @@ -101,7 +101,7 @@ def test_raw_response_update(self, client: Agentex) -> None: batch = response.parse() assert_matches_type(BatchUpdateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Agentex) -> None: with client.messages.batch.with_streaming_response.update( @@ -127,7 +127,7 @@ class TestAsyncBatch: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncAgentex) -> None: batch = await async_client.messages.batch.create( @@ -141,7 +141,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(BatchCreateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.batch.with_raw_response.create( @@ -159,7 +159,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: batch = await response.parse() assert_matches_type(BatchCreateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncAgentex) -> None: async with async_client.messages.batch.with_streaming_response.create( @@ -179,7 +179,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncAgentex) -> None: batch = await async_client.messages.batch.update( @@ -193,7 +193,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(BatchUpdateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.batch.with_raw_response.update( @@ -211,7 +211,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: batch = await response.parse() assert_matches_type(BatchUpdateResponse, batch, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None: async with async_client.messages.batch.with_streaming_response.update( diff --git a/tests/api_resources/test_agents.py b/tests/api_resources/test_agents.py index 8656542d..7ef11072 100644 --- a/tests/api_resources/test_agents.py +++ b/tests/api_resources/test_agents.py @@ -22,7 +22,7 @@ class TestAgents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: agent = client.agents.retrieve( @@ -30,7 +30,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.agents.with_raw_response.retrieve( @@ -42,7 +42,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.agents.with_streaming_response.retrieve( @@ -56,7 +56,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -64,13 +64,13 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: agent = client.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: agent = client.agents.list( @@ -78,7 +78,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.agents.with_raw_response.list() @@ -88,7 +88,7 @@ def test_raw_response_list(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.agents.with_streaming_response.list() as response: @@ -100,7 +100,7 @@ def test_streaming_response_list(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Agentex) -> None: agent = client.agents.delete( @@ -108,7 +108,7 @@ def test_method_delete(self, client: Agentex) -> None: ) assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Agentex) -> None: response = client.agents.with_raw_response.delete( @@ -120,7 +120,7 @@ def test_raw_response_delete(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Agentex) -> None: with client.agents.with_streaming_response.delete( @@ -134,7 +134,7 @@ def test_streaming_response_delete(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -142,7 +142,7 @@ def test_path_params_delete(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_by_name(self, client: Agentex) -> None: agent = client.agents.delete_by_name( @@ -150,7 +150,7 @@ def test_method_delete_by_name(self, client: Agentex) -> None: ) assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_by_name(self, client: Agentex) -> None: response = client.agents.with_raw_response.delete_by_name( @@ -162,7 +162,7 @@ def test_raw_response_delete_by_name(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_by_name(self, client: Agentex) -> None: with client.agents.with_streaming_response.delete_by_name( @@ -176,7 +176,7 @@ def test_streaming_response_delete_by_name(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): @@ -184,7 +184,7 @@ def test_path_params_delete_by_name(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_by_name(self, client: Agentex) -> None: agent = client.agents.retrieve_by_name( @@ -192,7 +192,7 @@ def test_method_retrieve_by_name(self, client: Agentex) -> None: ) assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_by_name(self, client: Agentex) -> None: response = client.agents.with_raw_response.retrieve_by_name( @@ -204,7 +204,7 @@ def test_raw_response_retrieve_by_name(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_by_name(self, client: Agentex) -> None: with client.agents.with_streaming_response.retrieve_by_name( @@ -218,7 +218,7 @@ def test_streaming_response_retrieve_by_name(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): @@ -226,7 +226,7 @@ def test_path_params_retrieve_by_name(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rpc(self, client: Agentex) -> None: agent = client.agents.rpc( @@ -236,7 +236,7 @@ def test_method_rpc(self, client: Agentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rpc_with_all_params(self, client: Agentex) -> None: agent = client.agents.rpc( @@ -251,7 +251,7 @@ def test_method_rpc_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_rpc(self, client: Agentex) -> None: response = client.agents.with_raw_response.rpc( @@ -265,7 +265,7 @@ def test_raw_response_rpc(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_rpc(self, client: Agentex) -> None: with client.agents.with_streaming_response.rpc( @@ -281,7 +281,7 @@ def test_streaming_response_rpc(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_rpc(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -291,7 +291,7 @@ def test_path_params_rpc(self, client: Agentex) -> None: params={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rpc_by_name(self, client: Agentex) -> None: agent = client.agents.rpc_by_name( @@ -301,7 +301,7 @@ def test_method_rpc_by_name(self, client: Agentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rpc_by_name_with_all_params(self, client: Agentex) -> None: agent = client.agents.rpc_by_name( @@ -316,7 +316,7 @@ def test_method_rpc_by_name_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_rpc_by_name(self, client: Agentex) -> None: response = client.agents.with_raw_response.rpc_by_name( @@ -330,7 +330,7 @@ def test_raw_response_rpc_by_name(self, client: Agentex) -> None: agent = response.parse() assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_rpc_by_name(self, client: Agentex) -> None: with client.agents.with_streaming_response.rpc_by_name( @@ -346,7 +346,7 @@ def test_streaming_response_rpc_by_name(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_rpc_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): @@ -362,7 +362,7 @@ class TestAsyncAgents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.retrieve( @@ -370,7 +370,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.retrieve( @@ -382,7 +382,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: agent = await response.parse() assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.retrieve( @@ -396,7 +396,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -404,13 +404,13 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.list( @@ -418,7 +418,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.list() @@ -428,7 +428,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: agent = await response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.list() as response: @@ -440,7 +440,7 @@ async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.delete( @@ -448,7 +448,7 @@ async def test_method_delete(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.delete( @@ -460,7 +460,7 @@ async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: agent = await response.parse() assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.delete( @@ -474,7 +474,7 @@ async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -482,7 +482,7 @@ async def test_path_params_delete(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_by_name(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.delete_by_name( @@ -490,7 +490,7 @@ async def test_method_delete_by_name(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.delete_by_name( @@ -502,7 +502,7 @@ async def test_raw_response_delete_by_name(self, async_client: AsyncAgentex) -> agent = await response.parse() assert_matches_type(DeleteResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.delete_by_name( @@ -516,7 +516,7 @@ async def test_streaming_response_delete_by_name(self, async_client: AsyncAgente assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): @@ -524,7 +524,7 @@ async def test_path_params_delete_by_name(self, async_client: AsyncAgentex) -> N "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_by_name(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.retrieve_by_name( @@ -532,7 +532,7 @@ async def test_method_retrieve_by_name(self, async_client: AsyncAgentex) -> None ) assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.retrieve_by_name( @@ -544,7 +544,7 @@ async def test_raw_response_retrieve_by_name(self, async_client: AsyncAgentex) - agent = await response.parse() assert_matches_type(Agent, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.retrieve_by_name( @@ -558,7 +558,7 @@ async def test_streaming_response_retrieve_by_name(self, async_client: AsyncAgen assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): @@ -566,7 +566,7 @@ async def test_path_params_retrieve_by_name(self, async_client: AsyncAgentex) -> "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rpc(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.rpc( @@ -576,7 +576,7 @@ async def test_method_rpc(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rpc_with_all_params(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.rpc( @@ -591,7 +591,7 @@ async def test_method_rpc_with_all_params(self, async_client: AsyncAgentex) -> N ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_rpc(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.rpc( @@ -605,7 +605,7 @@ async def test_raw_response_rpc(self, async_client: AsyncAgentex) -> None: agent = await response.parse() assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_rpc(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.rpc( @@ -621,7 +621,7 @@ async def test_streaming_response_rpc(self, async_client: AsyncAgentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_rpc(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -631,7 +631,7 @@ async def test_path_params_rpc(self, async_client: AsyncAgentex) -> None: params={}, ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rpc_by_name(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.rpc_by_name( @@ -641,7 +641,7 @@ async def test_method_rpc_by_name(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rpc_by_name_with_all_params(self, async_client: AsyncAgentex) -> None: agent = await async_client.agents.rpc_by_name( @@ -656,7 +656,7 @@ async def test_method_rpc_by_name_with_all_params(self, async_client: AsyncAgent ) assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_rpc_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.agents.with_raw_response.rpc_by_name( @@ -670,7 +670,7 @@ async def test_raw_response_rpc_by_name(self, async_client: AsyncAgentex) -> Non agent = await response.parse() assert_matches_type(AgentRpcResponse, agent, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_rpc_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.agents.with_streaming_response.rpc_by_name( @@ -686,7 +686,7 @@ async def test_streaming_response_rpc_by_name(self, async_client: AsyncAgentex) assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_rpc_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_name` but received ''"): diff --git a/tests/api_resources/test_events.py b/tests/api_resources/test_events.py index c11c6c94..fad95592 100644 --- a/tests/api_resources/test_events.py +++ b/tests/api_resources/test_events.py @@ -17,7 +17,7 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: event = client.events.retrieve( @@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.events.with_raw_response.retrieve( @@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.events.with_streaming_response.retrieve( @@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `event_id` but received ''"): @@ -59,7 +59,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: event = client.events.list( @@ -68,7 +68,7 @@ def test_method_list(self, client: Agentex) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: event = client.events.list( @@ -79,7 +79,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.events.with_raw_response.list( @@ -92,7 +92,7 @@ def test_raw_response_list(self, client: Agentex) -> None: event = response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.events.with_streaming_response.list( @@ -113,7 +113,7 @@ class TestAsyncEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: event = await async_client.events.retrieve( @@ -121,7 +121,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.events.with_raw_response.retrieve( @@ -133,7 +133,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.events.with_streaming_response.retrieve( @@ -147,7 +147,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `event_id` but received ''"): @@ -155,7 +155,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: event = await async_client.events.list( @@ -164,7 +164,7 @@ async def test_method_list(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: event = await async_client.events.list( @@ -175,7 +175,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.events.with_raw_response.list( @@ -188,7 +188,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: event = await response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.events.with_streaming_response.list( diff --git a/tests/api_resources/test_messages.py b/tests/api_resources/test_messages.py index eb0af8cd..457d3e24 100644 --- a/tests/api_resources/test_messages.py +++ b/tests/api_resources/test_messages.py @@ -20,7 +20,7 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Agentex) -> None: message = client.messages.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Agentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Agentex) -> None: message = client.messages.create( @@ -57,7 +57,7 @@ def test_method_create_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Agentex) -> None: response = client.messages.with_raw_response.create( @@ -74,7 +74,7 @@ def test_raw_response_create(self, client: Agentex) -> None: message = response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Agentex) -> None: with client.messages.with_streaming_response.create( @@ -93,7 +93,7 @@ def test_streaming_response_create(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: message = client.messages.retrieve( @@ -101,7 +101,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.messages.with_raw_response.retrieve( @@ -113,7 +113,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: message = response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.messages.with_streaming_response.retrieve( @@ -127,7 +127,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"): @@ -135,7 +135,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Agentex) -> None: message = client.messages.update( @@ -149,7 +149,7 @@ def test_method_update(self, client: Agentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Agentex) -> None: message = client.messages.update( @@ -174,7 +174,7 @@ def test_method_update_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Agentex) -> None: response = client.messages.with_raw_response.update( @@ -192,7 +192,7 @@ def test_raw_response_update(self, client: Agentex) -> None: message = response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Agentex) -> None: with client.messages.with_streaming_response.update( @@ -212,7 +212,7 @@ def test_streaming_response_update(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"): @@ -226,7 +226,7 @@ def test_path_params_update(self, client: Agentex) -> None: task_id="task_id", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: message = client.messages.list( @@ -234,7 +234,7 @@ def test_method_list(self, client: Agentex) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: message = client.messages.list( @@ -243,7 +243,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.messages.with_raw_response.list( @@ -255,7 +255,7 @@ def test_raw_response_list(self, client: Agentex) -> None: message = response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.messages.with_streaming_response.list( @@ -275,7 +275,7 @@ class TestAsyncMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.create( @@ -288,7 +288,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.create( @@ -312,7 +312,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncAgentex) - ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.with_raw_response.create( @@ -329,7 +329,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: message = await response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncAgentex) -> None: async with async_client.messages.with_streaming_response.create( @@ -348,7 +348,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.retrieve( @@ -356,7 +356,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.with_raw_response.retrieve( @@ -368,7 +368,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: message = await response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.messages.with_streaming_response.retrieve( @@ -382,7 +382,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"): @@ -390,7 +390,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.update( @@ -404,7 +404,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.update( @@ -429,7 +429,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncAgentex) - ) assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.with_raw_response.update( @@ -447,7 +447,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: message = await response.parse() assert_matches_type(TaskMessage, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None: async with async_client.messages.with_streaming_response.update( @@ -467,7 +467,7 @@ async def test_streaming_response_update(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"): @@ -481,7 +481,7 @@ async def test_path_params_update(self, async_client: AsyncAgentex) -> None: task_id="task_id", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.list( @@ -489,7 +489,7 @@ async def test_method_list(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: message = await async_client.messages.list( @@ -498,7 +498,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.messages.with_raw_response.list( @@ -510,7 +510,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: message = await response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.messages.with_streaming_response.list( diff --git a/tests/api_resources/test_spans.py b/tests/api_resources/test_spans.py index 344b7779..b9c9b168 100644 --- a/tests/api_resources/test_spans.py +++ b/tests/api_resources/test_spans.py @@ -18,7 +18,7 @@ class TestSpans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Agentex) -> None: span = client.spans.create( @@ -28,7 +28,7 @@ def test_method_create(self, client: Agentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Agentex) -> None: span = client.spans.create( @@ -44,7 +44,7 @@ def test_method_create_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Agentex) -> None: response = client.spans.with_raw_response.create( @@ -58,7 +58,7 @@ def test_raw_response_create(self, client: Agentex) -> None: span = response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Agentex) -> None: with client.spans.with_streaming_response.create( @@ -74,7 +74,7 @@ def test_streaming_response_create(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: span = client.spans.retrieve( @@ -82,7 +82,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.spans.with_raw_response.retrieve( @@ -94,7 +94,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: span = response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.spans.with_streaming_response.retrieve( @@ -108,7 +108,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `span_id` but received ''"): @@ -116,7 +116,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Agentex) -> None: span = client.spans.update( @@ -124,7 +124,7 @@ def test_method_update(self, client: Agentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Agentex) -> None: span = client.spans.update( @@ -140,7 +140,7 @@ def test_method_update_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Agentex) -> None: response = client.spans.with_raw_response.update( @@ -152,7 +152,7 @@ def test_raw_response_update(self, client: Agentex) -> None: span = response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Agentex) -> None: with client.spans.with_streaming_response.update( @@ -166,7 +166,7 @@ def test_streaming_response_update(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `span_id` but received ''"): @@ -174,13 +174,13 @@ def test_path_params_update(self, client: Agentex) -> None: span_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: span = client.spans.list() assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: span = client.spans.list( @@ -188,7 +188,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.spans.with_raw_response.list() @@ -198,7 +198,7 @@ def test_raw_response_list(self, client: Agentex) -> None: span = response.parse() assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.spans.with_streaming_response.list() as response: @@ -216,7 +216,7 @@ class TestAsyncSpans: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.create( @@ -226,7 +226,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.create( @@ -242,7 +242,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncAgentex) - ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: response = await async_client.spans.with_raw_response.create( @@ -256,7 +256,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: span = await response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncAgentex) -> None: async with async_client.spans.with_streaming_response.create( @@ -272,7 +272,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.retrieve( @@ -280,7 +280,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.spans.with_raw_response.retrieve( @@ -292,7 +292,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: span = await response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.spans.with_streaming_response.retrieve( @@ -306,7 +306,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `span_id` but received ''"): @@ -314,7 +314,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.update( @@ -322,7 +322,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.update( @@ -338,7 +338,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncAgentex) - ) assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: response = await async_client.spans.with_raw_response.update( @@ -350,7 +350,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: span = await response.parse() assert_matches_type(Span, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None: async with async_client.spans.with_streaming_response.update( @@ -364,7 +364,7 @@ async def test_streaming_response_update(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `span_id` but received ''"): @@ -372,13 +372,13 @@ async def test_path_params_update(self, async_client: AsyncAgentex) -> None: span_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.list() assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: span = await async_client.spans.list( @@ -386,7 +386,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.spans.with_raw_response.list() @@ -396,7 +396,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: span = await response.parse() assert_matches_type(SpanListResponse, span, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.spans.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_states.py b/tests/api_resources/test_states.py index 8e4fc62c..b23ff49a 100644 --- a/tests/api_resources/test_states.py +++ b/tests/api_resources/test_states.py @@ -17,7 +17,7 @@ class TestStates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Agentex) -> None: state = client.states.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Agentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Agentex) -> None: response = client.states.with_raw_response.create( @@ -41,7 +41,7 @@ def test_raw_response_create(self, client: Agentex) -> None: state = response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Agentex) -> None: with client.states.with_streaming_response.create( @@ -57,7 +57,7 @@ def test_streaming_response_create(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: state = client.states.retrieve( @@ -65,7 +65,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.states.with_raw_response.retrieve( @@ -77,7 +77,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: state = response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.states.with_streaming_response.retrieve( @@ -91,7 +91,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): @@ -99,7 +99,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Agentex) -> None: state = client.states.update( @@ -110,7 +110,7 @@ def test_method_update(self, client: Agentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Agentex) -> None: response = client.states.with_raw_response.update( @@ -125,7 +125,7 @@ def test_raw_response_update(self, client: Agentex) -> None: state = response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Agentex) -> None: with client.states.with_streaming_response.update( @@ -142,7 +142,7 @@ def test_streaming_response_update(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): @@ -153,13 +153,13 @@ def test_path_params_update(self, client: Agentex) -> None: task_id="task_id", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: state = client.states.list() assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: state = client.states.list( @@ -168,7 +168,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.states.with_raw_response.list() @@ -178,7 +178,7 @@ def test_raw_response_list(self, client: Agentex) -> None: state = response.parse() assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.states.with_streaming_response.list() as response: @@ -190,7 +190,7 @@ def test_streaming_response_list(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Agentex) -> None: state = client.states.delete( @@ -198,7 +198,7 @@ def test_method_delete(self, client: Agentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Agentex) -> None: response = client.states.with_raw_response.delete( @@ -210,7 +210,7 @@ def test_raw_response_delete(self, client: Agentex) -> None: state = response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Agentex) -> None: with client.states.with_streaming_response.delete( @@ -224,7 +224,7 @@ def test_streaming_response_delete(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): @@ -238,7 +238,7 @@ class TestAsyncStates: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncAgentex) -> None: state = await async_client.states.create( @@ -248,7 +248,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: response = await async_client.states.with_raw_response.create( @@ -262,7 +262,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None: state = await response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncAgentex) -> None: async with async_client.states.with_streaming_response.create( @@ -278,7 +278,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: state = await async_client.states.retrieve( @@ -286,7 +286,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.states.with_raw_response.retrieve( @@ -298,7 +298,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: state = await response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.states.with_streaming_response.retrieve( @@ -312,7 +312,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): @@ -320,7 +320,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncAgentex) -> None: state = await async_client.states.update( @@ -331,7 +331,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: response = await async_client.states.with_raw_response.update( @@ -346,7 +346,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: state = await response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None: async with async_client.states.with_streaming_response.update( @@ -363,7 +363,7 @@ async def test_streaming_response_update(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): @@ -374,13 +374,13 @@ async def test_path_params_update(self, async_client: AsyncAgentex) -> None: task_id="task_id", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: state = await async_client.states.list() assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: state = await async_client.states.list( @@ -389,7 +389,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.states.with_raw_response.list() @@ -399,7 +399,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: state = await response.parse() assert_matches_type(StateListResponse, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.states.with_streaming_response.list() as response: @@ -411,7 +411,7 @@ async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncAgentex) -> None: state = await async_client.states.delete( @@ -419,7 +419,7 @@ async def test_method_delete(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: response = await async_client.states.with_raw_response.delete( @@ -431,7 +431,7 @@ async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: state = await response.parse() assert_matches_type(State, state, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> None: async with async_client.states.with_streaming_response.delete( @@ -445,7 +445,7 @@ async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `state_id` but received ''"): diff --git a/tests/api_resources/test_tasks.py b/tests/api_resources/test_tasks.py index 6a707050..ac858a80 100644 --- a/tests/api_resources/test_tasks.py +++ b/tests/api_resources/test_tasks.py @@ -18,7 +18,7 @@ class TestTasks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: task = client.tasks.retrieve( @@ -26,7 +26,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.tasks.with_raw_response.retrieve( @@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: task = response.parse() assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.tasks.with_streaming_response.retrieve( @@ -52,7 +52,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -60,13 +60,13 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: task = client.tasks.list() assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: task = client.tasks.list( @@ -75,7 +75,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.tasks.with_raw_response.list() @@ -85,7 +85,7 @@ def test_raw_response_list(self, client: Agentex) -> None: task = response.parse() assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.tasks.with_streaming_response.list() as response: @@ -97,7 +97,7 @@ def test_streaming_response_list(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Agentex) -> None: task = client.tasks.delete( @@ -105,7 +105,7 @@ def test_method_delete(self, client: Agentex) -> None: ) assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Agentex) -> None: response = client.tasks.with_raw_response.delete( @@ -117,7 +117,7 @@ def test_raw_response_delete(self, client: Agentex) -> None: task = response.parse() assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Agentex) -> None: with client.tasks.with_streaming_response.delete( @@ -131,7 +131,7 @@ def test_streaming_response_delete(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -139,7 +139,7 @@ def test_path_params_delete(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_by_name(self, client: Agentex) -> None: task = client.tasks.delete_by_name( @@ -147,7 +147,7 @@ def test_method_delete_by_name(self, client: Agentex) -> None: ) assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_by_name(self, client: Agentex) -> None: response = client.tasks.with_raw_response.delete_by_name( @@ -159,7 +159,7 @@ def test_raw_response_delete_by_name(self, client: Agentex) -> None: task = response.parse() assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_by_name(self, client: Agentex) -> None: with client.tasks.with_streaming_response.delete_by_name( @@ -173,7 +173,7 @@ def test_streaming_response_delete_by_name(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): @@ -181,7 +181,7 @@ def test_path_params_delete_by_name(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_by_name(self, client: Agentex) -> None: task = client.tasks.retrieve_by_name( @@ -189,7 +189,7 @@ def test_method_retrieve_by_name(self, client: Agentex) -> None: ) assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_by_name(self, client: Agentex) -> None: response = client.tasks.with_raw_response.retrieve_by_name( @@ -201,7 +201,7 @@ def test_raw_response_retrieve_by_name(self, client: Agentex) -> None: task = response.parse() assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_by_name(self, client: Agentex) -> None: with client.tasks.with_streaming_response.retrieve_by_name( @@ -215,7 +215,7 @@ def test_streaming_response_retrieve_by_name(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): @@ -223,7 +223,7 @@ def test_path_params_retrieve_by_name(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stream_events(self, client: Agentex) -> None: task_stream = client.tasks.stream_events( @@ -231,7 +231,7 @@ def test_method_stream_events(self, client: Agentex) -> None: ) task_stream.response.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stream_events(self, client: Agentex) -> None: response = client.tasks.with_raw_response.stream_events( @@ -242,7 +242,7 @@ def test_raw_response_stream_events(self, client: Agentex) -> None: stream = response.parse() stream.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stream_events(self, client: Agentex) -> None: with client.tasks.with_streaming_response.stream_events( @@ -256,7 +256,7 @@ def test_streaming_response_stream_events(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stream_events(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -264,7 +264,7 @@ def test_path_params_stream_events(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stream_events_by_name(self, client: Agentex) -> None: task_stream = client.tasks.stream_events_by_name( @@ -272,7 +272,7 @@ def test_method_stream_events_by_name(self, client: Agentex) -> None: ) task_stream.response.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stream_events_by_name(self, client: Agentex) -> None: response = client.tasks.with_raw_response.stream_events_by_name( @@ -283,7 +283,7 @@ def test_raw_response_stream_events_by_name(self, client: Agentex) -> None: stream = response.parse() stream.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stream_events_by_name(self, client: Agentex) -> None: with client.tasks.with_streaming_response.stream_events_by_name( @@ -297,7 +297,7 @@ def test_streaming_response_stream_events_by_name(self, client: Agentex) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stream_events_by_name(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): @@ -311,7 +311,7 @@ class TestAsyncTasks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.retrieve( @@ -319,7 +319,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.retrieve( @@ -331,7 +331,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: task = await response.parse() assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.retrieve( @@ -345,7 +345,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -353,13 +353,13 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.list() assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.list( @@ -368,7 +368,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.list() @@ -378,7 +378,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: task = await response.parse() assert_matches_type(TaskListResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.list() as response: @@ -390,7 +390,7 @@ async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.delete( @@ -398,7 +398,7 @@ async def test_method_delete(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.delete( @@ -410,7 +410,7 @@ async def test_raw_response_delete(self, async_client: AsyncAgentex) -> None: task = await response.parse() assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.delete( @@ -424,7 +424,7 @@ async def test_streaming_response_delete(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -432,7 +432,7 @@ async def test_path_params_delete(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_by_name(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.delete_by_name( @@ -440,7 +440,7 @@ async def test_method_delete_by_name(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.delete_by_name( @@ -452,7 +452,7 @@ async def test_raw_response_delete_by_name(self, async_client: AsyncAgentex) -> task = await response.parse() assert_matches_type(DeleteResponse, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.delete_by_name( @@ -466,7 +466,7 @@ async def test_streaming_response_delete_by_name(self, async_client: AsyncAgente assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): @@ -474,7 +474,7 @@ async def test_path_params_delete_by_name(self, async_client: AsyncAgentex) -> N "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_by_name(self, async_client: AsyncAgentex) -> None: task = await async_client.tasks.retrieve_by_name( @@ -482,7 +482,7 @@ async def test_method_retrieve_by_name(self, async_client: AsyncAgentex) -> None ) assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.retrieve_by_name( @@ -494,7 +494,7 @@ async def test_raw_response_retrieve_by_name(self, async_client: AsyncAgentex) - task = await response.parse() assert_matches_type(Task, task, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.retrieve_by_name( @@ -508,7 +508,7 @@ async def test_streaming_response_retrieve_by_name(self, async_client: AsyncAgen assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): @@ -516,7 +516,7 @@ async def test_path_params_retrieve_by_name(self, async_client: AsyncAgentex) -> "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stream_events(self, async_client: AsyncAgentex) -> None: task_stream = await async_client.tasks.stream_events( @@ -524,7 +524,7 @@ async def test_method_stream_events(self, async_client: AsyncAgentex) -> None: ) await task_stream.response.aclose() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stream_events(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.stream_events( @@ -535,7 +535,7 @@ async def test_raw_response_stream_events(self, async_client: AsyncAgentex) -> N stream = await response.parse() await stream.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stream_events(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.stream_events( @@ -549,7 +549,7 @@ async def test_streaming_response_stream_events(self, async_client: AsyncAgentex assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stream_events(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -557,7 +557,7 @@ async def test_path_params_stream_events(self, async_client: AsyncAgentex) -> No "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stream_events_by_name(self, async_client: AsyncAgentex) -> None: task_stream = await async_client.tasks.stream_events_by_name( @@ -565,7 +565,7 @@ async def test_method_stream_events_by_name(self, async_client: AsyncAgentex) -> ) await task_stream.response.aclose() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stream_events_by_name(self, async_client: AsyncAgentex) -> None: response = await async_client.tasks.with_raw_response.stream_events_by_name( @@ -576,7 +576,7 @@ async def test_raw_response_stream_events_by_name(self, async_client: AsyncAgent stream = await response.parse() await stream.close() - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stream_events_by_name(self, async_client: AsyncAgentex) -> None: async with async_client.tasks.with_streaming_response.stream_events_by_name( @@ -590,7 +590,7 @@ async def test_streaming_response_stream_events_by_name(self, async_client: Asyn assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stream_events_by_name(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_name` but received ''"): diff --git a/tests/api_resources/test_tracker.py b/tests/api_resources/test_tracker.py index 11366810..431508c3 100644 --- a/tests/api_resources/test_tracker.py +++ b/tests/api_resources/test_tracker.py @@ -17,7 +17,7 @@ class TestTracker: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Agentex) -> None: tracker = client.tracker.retrieve( @@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Agentex) -> None: ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Agentex) -> None: response = client.tracker.with_raw_response.retrieve( @@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Agentex) -> None: tracker = response.parse() assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Agentex) -> None: with client.tracker.with_streaming_response.retrieve( @@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `tracker_id` but received ''"): @@ -59,7 +59,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Agentex) -> None: tracker = client.tracker.update( @@ -67,7 +67,7 @@ def test_method_update(self, client: Agentex) -> None: ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Agentex) -> None: tracker = client.tracker.update( @@ -78,7 +78,7 @@ def test_method_update_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Agentex) -> None: response = client.tracker.with_raw_response.update( @@ -90,7 +90,7 @@ def test_raw_response_update(self, client: Agentex) -> None: tracker = response.parse() assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Agentex) -> None: with client.tracker.with_streaming_response.update( @@ -104,7 +104,7 @@ def test_streaming_response_update(self, client: Agentex) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Agentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `tracker_id` but received ''"): @@ -112,13 +112,13 @@ def test_path_params_update(self, client: Agentex) -> None: tracker_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Agentex) -> None: tracker = client.tracker.list() assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Agentex) -> None: tracker = client.tracker.list( @@ -127,7 +127,7 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: ) assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Agentex) -> None: response = client.tracker.with_raw_response.list() @@ -137,7 +137,7 @@ def test_raw_response_list(self, client: Agentex) -> None: tracker = response.parse() assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Agentex) -> None: with client.tracker.with_streaming_response.list() as response: @@ -155,7 +155,7 @@ class TestAsyncTracker: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: tracker = await async_client.tracker.retrieve( @@ -163,7 +163,7 @@ async def test_method_retrieve(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: response = await async_client.tracker.with_raw_response.retrieve( @@ -175,7 +175,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncAgentex) -> None: tracker = await response.parse() assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> None: async with async_client.tracker.with_streaming_response.retrieve( @@ -189,7 +189,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncAgentex) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `tracker_id` but received ''"): @@ -197,7 +197,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncAgentex) -> None: tracker = await async_client.tracker.update( @@ -205,7 +205,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None: ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncAgentex) -> None: tracker = await async_client.tracker.update( @@ -216,7 +216,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncAgentex) - ) assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: response = await async_client.tracker.with_raw_response.update( @@ -228,7 +228,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None: tracker = await response.parse() assert_matches_type(AgentTaskTracker, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None: async with async_client.tracker.with_streaming_response.update( @@ -242,7 +242,7 @@ async def test_streaming_response_update(self, async_client: AsyncAgentex) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncAgentex) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `tracker_id` but received ''"): @@ -250,13 +250,13 @@ async def test_path_params_update(self, async_client: AsyncAgentex) -> None: tracker_id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncAgentex) -> None: tracker = await async_client.tracker.list() assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None: tracker = await async_client.tracker.list( @@ -265,7 +265,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> ) assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: response = await async_client.tracker.with_raw_response.list() @@ -275,7 +275,7 @@ async def test_raw_response_list(self, async_client: AsyncAgentex) -> None: tracker = await response.parse() assert_matches_type(TrackerListResponse, tracker, path=["response"]) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncAgentex) -> None: async with async_client.tracker.with_streaming_response.list() as response: