From 4d0e0b6c075763714407d4828dbd55d55eb3e5a2 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Mon, 17 Jun 2024 05:55:15 +0000 Subject: [PATCH] feat(api): update via SDK Studio --- tests/api_resources/kv/namespaces/test_values.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/api_resources/kv/namespaces/test_values.py b/tests/api_resources/kv/namespaces/test_values.py index d090fd1683d..36b3d06967a 100644 --- a/tests/api_resources/kv/namespaces/test_values.py +++ b/tests/api_resources/kv/namespaces/test_values.py @@ -161,6 +161,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: namespace_id="0f2ac74b498b48028cb68387c421e279", ) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -177,6 +178,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, value.is_closed) is True assert isinstance(value, BinaryAPIResponse) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -195,6 +197,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert value.json() == {"foo": "bar"} assert isinstance(value, BinaryAPIResponse) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -215,6 +218,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, value.is_closed) is True + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -379,6 +383,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: namespace_id="0f2ac74b498b48028cb68387c421e279", ) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -395,6 +400,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, value.is_closed) is True assert isinstance(value, AsyncBinaryAPIResponse) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -413,6 +419,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await value.json() == {"foo": "bar"} assert isinstance(value, AsyncBinaryAPIResponse) + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -433,6 +440,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, value.is_closed) is True + @pytest.mark.skip(reason="HTTP 406 from prism") @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: