diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6db19b95..463488b6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.17.0" + ".": "0.17.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b144fe2b..252e0d0a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/liquidmetal-ai%2Fraindrop-5cf76019d5bb0b47bae031ba30cd289190a9e6a9e0592d0a82b404b5ef7c1d12.yml openapi_spec_hash: 7f83735738a64d49551a9a4a0b3be1b0 -config_hash: 2b17c03801f5ecdac15d3c08fe63b0af +config_hash: db79168b9cf2e580b0023d018d73a61d diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b4d84a9..aae5d463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.17.1 (2026-02-25) + +Full Changelog: [v0.17.0...v0.17.1](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/compare/v0.17.0...v0.17.1) + +### Chores + +* **internal:** add request options to SSE classes ([9baf175](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/commit/9baf175283fd668eaadb41a5bb7b129a6fb339ee)) +* **internal:** make `test_proxy_environment_variables` more resilient ([cdb6f65](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/commit/cdb6f6512390600ce70db41ccd1d2b5d6f2241e6)) +* **internal:** make `test_proxy_environment_variables` more resilient to env ([52a4d1b](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/commit/52a4d1b18f168071f396bfdd2eb2a8c970546ca6)) +* **internal:** remove mock server code ([9381e3a](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/commit/9381e3afd7f2e8c1be97315fc33bb328728d974e)) +* update mock server docs ([d3825e6](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/commit/d3825e67de4bcba9aba00e79a3b71a74d6f6f2ee)) + ## 0.17.0 (2026-02-19) Full Changelog: [v0.6.43...v0.17.0](https://github.com/LiquidMetal-AI/lm-raindrop-python-sdk/compare/v0.6.43...v0.17.0) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 031dd889..174e7c31 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl ## Running tests -Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests. - -```sh -# you will need npm installed -$ npx prism mock path/to/your/openapi.yml -``` - ```sh $ ./scripts/test ``` diff --git a/pyproject.toml b/pyproject.toml index 8cf2596b..b62ed1ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lm-raindrop" -version = "0.17.0" +version = "0.17.1" description = "The official Python library for the raindrop API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/scripts/mock b/scripts/mock deleted file mode 100755 index 0b28f6ea..00000000 --- a/scripts/mock +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -if [[ -n "$1" && "$1" != '--'* ]]; then - URL="$1" - shift -else - URL="$(grep 'openapi_spec_url' .stats.yml | cut -d' ' -f2)" -fi - -# Check if the URL is empty -if [ -z "$URL" ]; then - echo "Error: No OpenAPI spec path/url provided or found in .stats.yml" - exit 1 -fi - -echo "==> Starting mock server with URL ${URL}" - -# Run prism mock on the given spec -if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & - - # Wait for server to come online - echo -n "Waiting for server" - while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do - echo -n "." - sleep 0.1 - done - - if grep -q "✖ fatal" ".prism.log"; then - cat .prism.log - exit 1 - fi - - echo -else - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" -fi diff --git a/scripts/test b/scripts/test index dbeda2d2..39729d09 100755 --- a/scripts/test +++ b/scripts/test @@ -4,53 +4,7 @@ set -e cd "$(dirname "$0")/.." -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[0;33m' -NC='\033[0m' # No Color -function prism_is_running() { - curl --silent "http://localhost:4010" >/dev/null 2>&1 -} - -kill_server_on_port() { - pids=$(lsof -t -i tcp:"$1" || echo "") - if [ "$pids" != "" ]; then - kill "$pids" - echo "Stopped $pids." - fi -} - -function is_overriding_api_base_url() { - [ -n "$TEST_API_BASE_URL" ] -} - -if ! is_overriding_api_base_url && ! prism_is_running ; then - # When we exit this script, make sure to kill the background mock server process - trap 'kill_server_on_port 4010' EXIT - - # Start the dev server - ./scripts/mock --daemon -fi - -if is_overriding_api_base_url ; then - echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}" - echo -elif ! prism_is_running ; then - echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server" - echo -e "running against your OpenAPI spec." - echo - echo -e "To run the server, pass in the path or url of your OpenAPI" - echo -e "spec to the prism command:" - echo - echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" - echo - - exit 1 -else - echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}" - echo -fi export DEFER_PYDANTIC_BUILD=false diff --git a/src/raindrop/_response.py b/src/raindrop/_response.py index 232b95ee..351c0f29 100644 --- a/src/raindrop/_response.py +++ b/src/raindrop/_response.py @@ -152,6 +152,7 @@ def _parse(self, *, to: type[_T] | None = None) -> R | _T: ), response=self.http_response, client=cast(Any, self._client), + options=self._options, ), ) @@ -162,6 +163,7 @@ def _parse(self, *, to: type[_T] | None = None) -> R | _T: cast_to=extract_stream_chunk_type(self._stream_cls), response=self.http_response, client=cast(Any, self._client), + options=self._options, ), ) @@ -175,6 +177,7 @@ def _parse(self, *, to: type[_T] | None = None) -> R | _T: cast_to=cast_to, response=self.http_response, client=cast(Any, self._client), + options=self._options, ), ) diff --git a/src/raindrop/_streaming.py b/src/raindrop/_streaming.py index a37099c4..d9d6bf53 100644 --- a/src/raindrop/_streaming.py +++ b/src/raindrop/_streaming.py @@ -4,7 +4,7 @@ import json import inspect from types import TracebackType -from typing import TYPE_CHECKING, Any, Generic, TypeVar, Iterator, AsyncIterator, cast +from typing import TYPE_CHECKING, Any, Generic, TypeVar, Iterator, Optional, AsyncIterator, cast from typing_extensions import Self, Protocol, TypeGuard, override, get_origin, runtime_checkable import httpx @@ -13,6 +13,7 @@ if TYPE_CHECKING: from ._client import Raindrop, AsyncRaindrop + from ._models import FinalRequestOptions _T = TypeVar("_T") @@ -22,7 +23,7 @@ class Stream(Generic[_T]): """Provides the core interface to iterate over a synchronous stream response.""" response: httpx.Response - + _options: Optional[FinalRequestOptions] = None _decoder: SSEBytesDecoder def __init__( @@ -31,10 +32,12 @@ def __init__( cast_to: type[_T], response: httpx.Response, client: Raindrop, + options: Optional[FinalRequestOptions] = None, ) -> None: self.response = response self._cast_to = cast_to self._client = client + self._options = options self._decoder = client._make_sse_decoder() self._iterator = self.__stream__() @@ -85,7 +88,7 @@ class AsyncStream(Generic[_T]): """Provides the core interface to iterate over an asynchronous stream response.""" response: httpx.Response - + _options: Optional[FinalRequestOptions] = None _decoder: SSEDecoder | SSEBytesDecoder def __init__( @@ -94,10 +97,12 @@ def __init__( cast_to: type[_T], response: httpx.Response, client: AsyncRaindrop, + options: Optional[FinalRequestOptions] = None, ) -> None: self.response = response self._cast_to = cast_to self._client = client + self._options = options self._decoder = client._make_sse_decoder() self._iterator = self.__stream__() diff --git a/src/raindrop/_version.py b/src/raindrop/_version.py index 97d09ba5..d6869608 100644 --- a/src/raindrop/_version.py +++ b/src/raindrop/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "raindrop" -__version__ = "0.17.0" # x-release-please-version +__version__ = "0.17.1" # x-release-please-version diff --git a/tests/api_resources/bucket/test_by_status.py b/tests/api_resources/bucket/test_by_status.py index b41af3e9..27d63b61 100644 --- a/tests/api_resources/bucket/test_by_status.py +++ b/tests/api_resources/bucket/test_by_status.py @@ -17,7 +17,7 @@ class TestByStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_objects(self, client: Raindrop) -> None: by_status = client.bucket.by_status.list_objects( @@ -32,7 +32,7 @@ def test_method_list_objects(self, client: Raindrop) -> None: ) assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_objects_with_all_params(self, client: Raindrop) -> None: by_status = client.bucket.by_status.list_objects( @@ -50,7 +50,7 @@ def test_method_list_objects_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list_objects(self, client: Raindrop) -> None: response = client.bucket.by_status.with_raw_response.list_objects( @@ -69,7 +69,7 @@ def test_raw_response_list_objects(self, client: Raindrop) -> None: by_status = response.parse() assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list_objects(self, client: Raindrop) -> None: with client.bucket.by_status.with_streaming_response.list_objects( @@ -96,7 +96,7 @@ class TestAsyncByStatus: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_objects(self, async_client: AsyncRaindrop) -> None: by_status = await async_client.bucket.by_status.list_objects( @@ -111,7 +111,7 @@ async def test_method_list_objects(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_objects_with_all_params(self, async_client: AsyncRaindrop) -> None: by_status = await async_client.bucket.by_status.list_objects( @@ -129,7 +129,7 @@ async def test_method_list_objects_with_all_params(self, async_client: AsyncRain ) assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list_objects(self, async_client: AsyncRaindrop) -> None: response = await async_client.bucket.by_status.with_raw_response.list_objects( @@ -148,7 +148,7 @@ async def test_raw_response_list_objects(self, async_client: AsyncRaindrop) -> N by_status = await response.parse() assert_matches_type(ByStatusListObjectsResponse, by_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list_objects(self, async_client: AsyncRaindrop) -> None: async with async_client.bucket.by_status.with_streaming_response.list_objects( diff --git a/tests/api_resources/query/test_episodic_memory.py b/tests/api_resources/query/test_episodic_memory.py index a32fecda..2c9219f8 100644 --- a/tests/api_resources/query/test_episodic_memory.py +++ b/tests/api_resources/query/test_episodic_memory.py @@ -18,7 +18,7 @@ class TestEpisodicMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search(self, client: Raindrop) -> None: episodic_memory = client.query.episodic_memory.search( @@ -33,7 +33,7 @@ def test_method_search(self, client: Raindrop) -> None: ) assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search_with_all_params(self, client: Raindrop) -> None: episodic_memory = client.query.episodic_memory.search( @@ -51,7 +51,7 @@ def test_method_search_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_search(self, client: Raindrop) -> None: response = client.query.episodic_memory.with_raw_response.search( @@ -70,7 +70,7 @@ def test_raw_response_search(self, client: Raindrop) -> None: episodic_memory = response.parse() assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_search(self, client: Raindrop) -> None: with client.query.episodic_memory.with_streaming_response.search( @@ -97,7 +97,7 @@ class TestAsyncEpisodicMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search(self, async_client: AsyncRaindrop) -> None: episodic_memory = await async_client.query.episodic_memory.search( @@ -112,7 +112,7 @@ async def test_method_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) -> None: episodic_memory = await async_client.query.episodic_memory.search( @@ -130,7 +130,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.episodic_memory.with_raw_response.search( @@ -149,7 +149,7 @@ async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: episodic_memory = await response.parse() assert_matches_type(EpisodicMemorySearchResponse, episodic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.episodic_memory.with_streaming_response.search( diff --git a/tests/api_resources/query/test_memory.py b/tests/api_resources/query/test_memory.py index 542f67a2..2629536f 100644 --- a/tests/api_resources/query/test_memory.py +++ b/tests/api_resources/query/test_memory.py @@ -18,7 +18,7 @@ class TestMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search(self, client: Raindrop) -> None: memory = client.query.memory.search( @@ -34,7 +34,7 @@ def test_method_search(self, client: Raindrop) -> None: ) assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search_with_all_params(self, client: Raindrop) -> None: memory = client.query.memory.search( @@ -54,7 +54,7 @@ def test_method_search_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_search(self, client: Raindrop) -> None: response = client.query.memory.with_raw_response.search( @@ -74,7 +74,7 @@ def test_raw_response_search(self, client: Raindrop) -> None: memory = response.parse() assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_search(self, client: Raindrop) -> None: with client.query.memory.with_streaming_response.search( @@ -102,7 +102,7 @@ class TestAsyncMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search(self, async_client: AsyncRaindrop) -> None: memory = await async_client.query.memory.search( @@ -118,7 +118,7 @@ async def test_method_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) -> None: memory = await async_client.query.memory.search( @@ -138,7 +138,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.memory.with_raw_response.search( @@ -158,7 +158,7 @@ async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: memory = await response.parse() assert_matches_type(MemorySearchResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.memory.with_streaming_response.search( diff --git a/tests/api_resources/query/test_procedures.py b/tests/api_resources/query/test_procedures.py index 8f725225..ff9d0f78 100644 --- a/tests/api_resources/query/test_procedures.py +++ b/tests/api_resources/query/test_procedures.py @@ -17,7 +17,7 @@ class TestProcedures: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search(self, client: Raindrop) -> None: procedure = client.query.procedures.search( @@ -32,7 +32,7 @@ def test_method_search(self, client: Raindrop) -> None: ) assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search_with_all_params(self, client: Raindrop) -> None: procedure = client.query.procedures.search( @@ -51,7 +51,7 @@ def test_method_search_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_search(self, client: Raindrop) -> None: response = client.query.procedures.with_raw_response.search( @@ -70,7 +70,7 @@ def test_raw_response_search(self, client: Raindrop) -> None: procedure = response.parse() assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_search(self, client: Raindrop) -> None: with client.query.procedures.with_streaming_response.search( @@ -97,7 +97,7 @@ class TestAsyncProcedures: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search(self, async_client: AsyncRaindrop) -> None: procedure = await async_client.query.procedures.search( @@ -112,7 +112,7 @@ async def test_method_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) -> None: procedure = await async_client.query.procedures.search( @@ -131,7 +131,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.procedures.with_raw_response.search( @@ -150,7 +150,7 @@ async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: procedure = await response.parse() assert_matches_type(ProcedureSearchResponse, procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.procedures.with_streaming_response.search( diff --git a/tests/api_resources/query/test_semantic_memory.py b/tests/api_resources/query/test_semantic_memory.py index bfca279f..55c945cc 100644 --- a/tests/api_resources/query/test_semantic_memory.py +++ b/tests/api_resources/query/test_semantic_memory.py @@ -17,7 +17,7 @@ class TestSemanticMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search(self, client: Raindrop) -> None: semantic_memory = client.query.semantic_memory.search( @@ -32,7 +32,7 @@ def test_method_search(self, client: Raindrop) -> None: ) assert_matches_type(SemanticMemorySearchResponse, semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_search(self, client: Raindrop) -> None: response = client.query.semantic_memory.with_raw_response.search( @@ -51,7 +51,7 @@ def test_raw_response_search(self, client: Raindrop) -> None: semantic_memory = response.parse() assert_matches_type(SemanticMemorySearchResponse, semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_search(self, client: Raindrop) -> None: with client.query.semantic_memory.with_streaming_response.search( @@ -78,7 +78,7 @@ class TestAsyncSemanticMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search(self, async_client: AsyncRaindrop) -> None: semantic_memory = await async_client.query.semantic_memory.search( @@ -93,7 +93,7 @@ async def test_method_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(SemanticMemorySearchResponse, semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.semantic_memory.with_raw_response.search( @@ -112,7 +112,7 @@ async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: semantic_memory = await response.parse() assert_matches_type(SemanticMemorySearchResponse, semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.semantic_memory.with_streaming_response.search( diff --git a/tests/api_resources/test_bucket.py b/tests/api_resources/test_bucket.py index e300bf19..bc2c3bb7 100644 --- a/tests/api_resources/test_bucket.py +++ b/tests/api_resources/test_bucket.py @@ -21,7 +21,7 @@ class TestBucket: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list(self, client: Raindrop) -> None: bucket = client.bucket.list( @@ -35,7 +35,7 @@ def test_method_list(self, client: Raindrop) -> None: ) assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Raindrop) -> None: bucket = client.bucket.list( @@ -50,7 +50,7 @@ def test_method_list_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list(self, client: Raindrop) -> None: response = client.bucket.with_raw_response.list( @@ -68,7 +68,7 @@ def test_raw_response_list(self, client: Raindrop) -> None: bucket = response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list(self, client: Raindrop) -> None: with client.bucket.with_streaming_response.list( @@ -88,7 +88,7 @@ def test_streaming_response_list(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete(self, client: Raindrop) -> None: bucket = client.bucket.delete( @@ -103,7 +103,7 @@ def test_method_delete(self, client: Raindrop) -> None: ) assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete(self, client: Raindrop) -> None: response = client.bucket.with_raw_response.delete( @@ -122,7 +122,7 @@ def test_raw_response_delete(self, client: Raindrop) -> None: bucket = response.parse() assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete(self, client: Raindrop) -> None: with client.bucket.with_streaming_response.delete( @@ -143,7 +143,7 @@ def test_streaming_response_delete(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get(self, client: Raindrop) -> None: bucket = client.bucket.get( @@ -158,7 +158,7 @@ def test_method_get(self, client: Raindrop) -> None: ) assert_matches_type(BucketGetResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get(self, client: Raindrop) -> None: response = client.bucket.with_raw_response.get( @@ -177,7 +177,7 @@ def test_raw_response_get(self, client: Raindrop) -> None: bucket = response.parse() assert_matches_type(BucketGetResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get(self, client: Raindrop) -> None: with client.bucket.with_streaming_response.get( @@ -198,7 +198,7 @@ def test_streaming_response_get(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_put(self, client: Raindrop) -> None: bucket = client.bucket.put( @@ -215,7 +215,7 @@ def test_method_put(self, client: Raindrop) -> None: ) assert_matches_type(BucketPutResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_put(self, client: Raindrop) -> None: response = client.bucket.with_raw_response.put( @@ -236,7 +236,7 @@ def test_raw_response_put(self, client: Raindrop) -> None: bucket = response.parse() assert_matches_type(BucketPutResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_put(self, client: Raindrop) -> None: with client.bucket.with_streaming_response.put( @@ -265,7 +265,7 @@ class TestAsyncBucket: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncRaindrop) -> None: bucket = await async_client.bucket.list( @@ -279,7 +279,7 @@ async def test_method_list(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncRaindrop) -> None: bucket = await async_client.bucket.list( @@ -294,7 +294,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncRaindrop) -> ) assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncRaindrop) -> None: response = await async_client.bucket.with_raw_response.list( @@ -312,7 +312,7 @@ async def test_raw_response_list(self, async_client: AsyncRaindrop) -> None: bucket = await response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncRaindrop) -> None: async with async_client.bucket.with_streaming_response.list( @@ -332,7 +332,7 @@ async def test_streaming_response_list(self, async_client: AsyncRaindrop) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncRaindrop) -> None: bucket = await async_client.bucket.delete( @@ -347,7 +347,7 @@ async def test_method_delete(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncRaindrop) -> None: response = await async_client.bucket.with_raw_response.delete( @@ -366,7 +366,7 @@ async def test_raw_response_delete(self, async_client: AsyncRaindrop) -> None: bucket = await response.parse() assert_matches_type(object, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncRaindrop) -> None: async with async_client.bucket.with_streaming_response.delete( @@ -387,7 +387,7 @@ async def test_streaming_response_delete(self, async_client: AsyncRaindrop) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get(self, async_client: AsyncRaindrop) -> None: bucket = await async_client.bucket.get( @@ -402,7 +402,7 @@ async def test_method_get(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(BucketGetResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get(self, async_client: AsyncRaindrop) -> None: response = await async_client.bucket.with_raw_response.get( @@ -421,7 +421,7 @@ async def test_raw_response_get(self, async_client: AsyncRaindrop) -> None: bucket = await response.parse() assert_matches_type(BucketGetResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get(self, async_client: AsyncRaindrop) -> None: async with async_client.bucket.with_streaming_response.get( @@ -442,7 +442,7 @@ async def test_streaming_response_get(self, async_client: AsyncRaindrop) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_put(self, async_client: AsyncRaindrop) -> None: bucket = await async_client.bucket.put( @@ -459,7 +459,7 @@ async def test_method_put(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(BucketPutResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_put(self, async_client: AsyncRaindrop) -> None: response = await async_client.bucket.with_raw_response.put( @@ -480,7 +480,7 @@ async def test_raw_response_put(self, async_client: AsyncRaindrop) -> None: bucket = await response.parse() assert_matches_type(BucketPutResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_put(self, async_client: AsyncRaindrop) -> None: async with async_client.bucket.with_streaming_response.put( diff --git a/tests/api_resources/test_delete_memory.py b/tests/api_resources/test_delete_memory.py index c8ee2c3e..6339e981 100644 --- a/tests/api_resources/test_delete_memory.py +++ b/tests/api_resources/test_delete_memory.py @@ -17,7 +17,7 @@ class TestDeleteMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: delete_memory = client.delete_memory.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(DeleteMemoryCreateResponse, delete_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.delete_memory.with_raw_response.create( @@ -53,7 +53,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: delete_memory = response.parse() assert_matches_type(DeleteMemoryCreateResponse, delete_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.delete_memory.with_streaming_response.create( @@ -81,7 +81,7 @@ class TestAsyncDeleteMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: delete_memory = await async_client.delete_memory.create( @@ -97,7 +97,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(DeleteMemoryCreateResponse, delete_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.delete_memory.with_raw_response.create( @@ -117,7 +117,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: delete_memory = await response.parse() assert_matches_type(DeleteMemoryCreateResponse, delete_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.delete_memory.with_streaming_response.create( diff --git a/tests/api_resources/test_delete_procedure.py b/tests/api_resources/test_delete_procedure.py index fb9580b5..e2a76762 100644 --- a/tests/api_resources/test_delete_procedure.py +++ b/tests/api_resources/test_delete_procedure.py @@ -17,7 +17,7 @@ class TestDeleteProcedure: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: delete_procedure = client.delete_procedure.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: delete_procedure = client.delete_procedure.create( @@ -48,7 +48,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.delete_procedure.with_raw_response.create( @@ -67,7 +67,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: delete_procedure = response.parse() assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.delete_procedure.with_streaming_response.create( @@ -94,7 +94,7 @@ class TestAsyncDeleteProcedure: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: delete_procedure = await async_client.delete_procedure.create( @@ -109,7 +109,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: delete_procedure = await async_client.delete_procedure.create( @@ -125,7 +125,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.delete_procedure.with_raw_response.create( @@ -144,7 +144,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: delete_procedure = await response.parse() assert_matches_type(DeleteProcedureCreateResponse, delete_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.delete_procedure.with_streaming_response.create( diff --git a/tests/api_resources/test_delete_semantic_memory.py b/tests/api_resources/test_delete_semantic_memory.py index 7c9a68ea..ab439568 100644 --- a/tests/api_resources/test_delete_semantic_memory.py +++ b/tests/api_resources/test_delete_semantic_memory.py @@ -17,7 +17,7 @@ class TestDeleteSemanticMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete(self, client: Raindrop) -> None: delete_semantic_memory = client.delete_semantic_memory.delete( @@ -32,7 +32,7 @@ def test_method_delete(self, client: Raindrop) -> None: ) assert_matches_type(DeleteSemanticMemoryDeleteResponse, delete_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete(self, client: Raindrop) -> None: response = client.delete_semantic_memory.with_raw_response.delete( @@ -51,7 +51,7 @@ def test_raw_response_delete(self, client: Raindrop) -> None: delete_semantic_memory = response.parse() assert_matches_type(DeleteSemanticMemoryDeleteResponse, delete_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete(self, client: Raindrop) -> None: with client.delete_semantic_memory.with_streaming_response.delete( @@ -78,7 +78,7 @@ class TestAsyncDeleteSemanticMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncRaindrop) -> None: delete_semantic_memory = await async_client.delete_semantic_memory.delete( @@ -93,7 +93,7 @@ async def test_method_delete(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(DeleteSemanticMemoryDeleteResponse, delete_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncRaindrop) -> None: response = await async_client.delete_semantic_memory.with_raw_response.delete( @@ -112,7 +112,7 @@ async def test_raw_response_delete(self, async_client: AsyncRaindrop) -> None: delete_semantic_memory = await response.parse() assert_matches_type(DeleteSemanticMemoryDeleteResponse, delete_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncRaindrop) -> None: async with async_client.delete_semantic_memory.with_streaming_response.delete( diff --git a/tests/api_resources/test_document_status.py b/tests/api_resources/test_document_status.py index 4ec0bd14..562bc9e5 100644 --- a/tests/api_resources/test_document_status.py +++ b/tests/api_resources/test_document_status.py @@ -17,7 +17,7 @@ class TestDocumentStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_status(self, client: Raindrop) -> None: document_status = client.document_status.get_status( @@ -32,7 +32,7 @@ def test_method_get_status(self, client: Raindrop) -> None: ) assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_status_with_all_params(self, client: Raindrop) -> None: document_status = client.document_status.get_status( @@ -48,7 +48,7 @@ def test_method_get_status_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get_status(self, client: Raindrop) -> None: response = client.document_status.with_raw_response.get_status( @@ -67,7 +67,7 @@ def test_raw_response_get_status(self, client: Raindrop) -> None: document_status = response.parse() assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get_status(self, client: Raindrop) -> None: with client.document_status.with_streaming_response.get_status( @@ -94,7 +94,7 @@ class TestAsyncDocumentStatus: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_status(self, async_client: AsyncRaindrop) -> None: document_status = await async_client.document_status.get_status( @@ -109,7 +109,7 @@ async def test_method_get_status(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_status_with_all_params(self, async_client: AsyncRaindrop) -> None: document_status = await async_client.document_status.get_status( @@ -125,7 +125,7 @@ async def test_method_get_status_with_all_params(self, async_client: AsyncRaindr ) assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get_status(self, async_client: AsyncRaindrop) -> None: response = await async_client.document_status.with_raw_response.get_status( @@ -144,7 +144,7 @@ async def test_raw_response_get_status(self, async_client: AsyncRaindrop) -> Non document_status = await response.parse() assert_matches_type(DocumentStatusGetStatusResponse, document_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get_status(self, async_client: AsyncRaindrop) -> None: async with async_client.document_status.with_streaming_response.get_status( diff --git a/tests/api_resources/test_document_status_bulk.py b/tests/api_resources/test_document_status_bulk.py index 4589800f..8c0b83a7 100644 --- a/tests/api_resources/test_document_status_bulk.py +++ b/tests/api_resources/test_document_status_bulk.py @@ -19,7 +19,7 @@ class TestDocumentStatusBulk: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_status_bulk(self, client: Raindrop) -> None: document_status_bulk = client.document_status_bulk.get_status_bulk( @@ -34,7 +34,7 @@ def test_method_get_status_bulk(self, client: Raindrop) -> None: ) assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_status_bulk_with_all_params(self, client: Raindrop) -> None: document_status_bulk = client.document_status_bulk.get_status_bulk( @@ -50,7 +50,7 @@ def test_method_get_status_bulk_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get_status_bulk(self, client: Raindrop) -> None: response = client.document_status_bulk.with_raw_response.get_status_bulk( @@ -69,7 +69,7 @@ def test_raw_response_get_status_bulk(self, client: Raindrop) -> None: document_status_bulk = response.parse() assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get_status_bulk(self, client: Raindrop) -> None: with client.document_status_bulk.with_streaming_response.get_status_bulk( @@ -96,7 +96,7 @@ class TestAsyncDocumentStatusBulk: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_status_bulk(self, async_client: AsyncRaindrop) -> None: document_status_bulk = await async_client.document_status_bulk.get_status_bulk( @@ -111,7 +111,7 @@ async def test_method_get_status_bulk(self, async_client: AsyncRaindrop) -> None ) assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_status_bulk_with_all_params(self, async_client: AsyncRaindrop) -> None: document_status_bulk = await async_client.document_status_bulk.get_status_bulk( @@ -127,7 +127,7 @@ async def test_method_get_status_bulk_with_all_params(self, async_client: AsyncR ) assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get_status_bulk(self, async_client: AsyncRaindrop) -> None: response = await async_client.document_status_bulk.with_raw_response.get_status_bulk( @@ -146,7 +146,7 @@ async def test_raw_response_get_status_bulk(self, async_client: AsyncRaindrop) - document_status_bulk = await response.parse() assert_matches_type(DocumentStatusBulkGetStatusBulkResponse, document_status_bulk, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get_status_bulk(self, async_client: AsyncRaindrop) -> None: async with async_client.document_status_bulk.with_streaming_response.get_status_bulk( diff --git a/tests/api_resources/test_end_session.py b/tests/api_resources/test_end_session.py index b6a31052..14498f7c 100644 --- a/tests/api_resources/test_end_session.py +++ b/tests/api_resources/test_end_session.py @@ -17,7 +17,7 @@ class TestEndSession: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: end_session = client.end_session.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: end_session = client.end_session.create( @@ -49,7 +49,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.end_session.with_raw_response.create( @@ -68,7 +68,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: end_session = response.parse() assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.end_session.with_streaming_response.create( @@ -95,7 +95,7 @@ class TestAsyncEndSession: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: end_session = await async_client.end_session.create( @@ -110,7 +110,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: end_session = await async_client.end_session.create( @@ -127,7 +127,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.end_session.with_raw_response.create( @@ -146,7 +146,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: end_session = await response.parse() assert_matches_type(EndSessionCreateResponse, end_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.end_session.with_streaming_response.create( diff --git a/tests/api_resources/test_execute_query.py b/tests/api_resources/test_execute_query.py index 02ae78e1..658ec78c 100644 --- a/tests/api_resources/test_execute_query.py +++ b/tests/api_resources/test_execute_query.py @@ -17,7 +17,7 @@ class TestExecuteQuery: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_execute(self, client: Raindrop) -> None: execute_query = client.execute_query.execute( @@ -25,7 +25,7 @@ def test_method_execute(self, client: Raindrop) -> None: ) assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_execute_with_all_params(self, client: Raindrop) -> None: execute_query = client.execute_query.execute( @@ -42,7 +42,7 @@ def test_method_execute_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_execute(self, client: Raindrop) -> None: response = client.execute_query.with_raw_response.execute( @@ -54,7 +54,7 @@ def test_raw_response_execute(self, client: Raindrop) -> None: execute_query = response.parse() assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_execute(self, client: Raindrop) -> None: with client.execute_query.with_streaming_response.execute( @@ -74,7 +74,7 @@ class TestAsyncExecuteQuery: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_execute(self, async_client: AsyncRaindrop) -> None: execute_query = await async_client.execute_query.execute( @@ -82,7 +82,7 @@ async def test_method_execute(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_execute_with_all_params(self, async_client: AsyncRaindrop) -> None: execute_query = await async_client.execute_query.execute( @@ -99,7 +99,7 @@ async def test_method_execute_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_execute(self, async_client: AsyncRaindrop) -> None: response = await async_client.execute_query.with_raw_response.execute( @@ -111,7 +111,7 @@ async def test_raw_response_execute(self, async_client: AsyncRaindrop) -> None: execute_query = await response.parse() assert_matches_type(ExecuteQueryExecuteResponse, execute_query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_execute(self, async_client: AsyncRaindrop) -> None: async with async_client.execute_query.with_streaming_response.execute( diff --git a/tests/api_resources/test_get_memory.py b/tests/api_resources/test_get_memory.py index 5e7763ac..82c8080e 100644 --- a/tests/api_resources/test_get_memory.py +++ b/tests/api_resources/test_get_memory.py @@ -18,7 +18,7 @@ class TestGetMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve(self, client: Raindrop) -> None: get_memory = client.get_memory.retrieve( @@ -33,7 +33,7 @@ def test_method_retrieve(self, client: Raindrop) -> None: ) assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: get_memory = client.get_memory.retrieve( @@ -53,7 +53,7 @@ def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Raindrop) -> None: response = client.get_memory.with_raw_response.retrieve( @@ -72,7 +72,7 @@ def test_raw_response_retrieve(self, client: Raindrop) -> None: get_memory = response.parse() assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Raindrop) -> None: with client.get_memory.with_streaming_response.retrieve( @@ -99,7 +99,7 @@ class TestAsyncGetMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: get_memory = await async_client.get_memory.retrieve( @@ -114,7 +114,7 @@ async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop) -> None: get_memory = await async_client.get_memory.retrieve( @@ -134,7 +134,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop ) assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: response = await async_client.get_memory.with_raw_response.retrieve( @@ -153,7 +153,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: get_memory = await response.parse() assert_matches_type(GetMemoryRetrieveResponse, get_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncRaindrop) -> None: async with async_client.get_memory.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_get_metadata.py b/tests/api_resources/test_get_metadata.py index b5ad12c9..b3888305 100644 --- a/tests/api_resources/test_get_metadata.py +++ b/tests/api_resources/test_get_metadata.py @@ -17,7 +17,7 @@ class TestGetMetadata: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve(self, client: Raindrop) -> None: get_metadata = client.get_metadata.retrieve( @@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Raindrop) -> None: ) assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: get_metadata = client.get_metadata.retrieve( @@ -40,7 +40,7 @@ def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Raindrop) -> None: response = client.get_metadata.with_raw_response.retrieve( @@ -52,7 +52,7 @@ def test_raw_response_retrieve(self, client: Raindrop) -> None: get_metadata = response.parse() assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Raindrop) -> None: with client.get_metadata.with_streaming_response.retrieve( @@ -72,7 +72,7 @@ class TestAsyncGetMetadata: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: get_metadata = await async_client.get_metadata.retrieve( @@ -80,7 +80,7 @@ async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop) -> None: get_metadata = await async_client.get_metadata.retrieve( @@ -95,7 +95,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop ) assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: response = await async_client.get_metadata.with_raw_response.retrieve( @@ -107,7 +107,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: get_metadata = await response.parse() assert_matches_type(GetMetadataRetrieveResponse, get_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncRaindrop) -> None: async with async_client.get_metadata.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_get_pii_data.py b/tests/api_resources/test_get_pii_data.py index c41d6ef3..51f8c71b 100644 --- a/tests/api_resources/test_get_pii_data.py +++ b/tests/api_resources/test_get_pii_data.py @@ -17,7 +17,7 @@ class TestGetPiiData: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve(self, client: Raindrop) -> None: get_pii_data = client.get_pii_data.retrieve( @@ -26,7 +26,7 @@ def test_method_retrieve(self, client: Raindrop) -> None: ) assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: get_pii_data = client.get_pii_data.retrieve( @@ -42,7 +42,7 @@ def test_method_retrieve_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Raindrop) -> None: response = client.get_pii_data.with_raw_response.retrieve( @@ -55,7 +55,7 @@ def test_raw_response_retrieve(self, client: Raindrop) -> None: get_pii_data = response.parse() assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Raindrop) -> None: with client.get_pii_data.with_streaming_response.retrieve( @@ -76,7 +76,7 @@ class TestAsyncGetPiiData: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: get_pii_data = await async_client.get_pii_data.retrieve( @@ -85,7 +85,7 @@ async def test_method_retrieve(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop) -> None: get_pii_data = await async_client.get_pii_data.retrieve( @@ -101,7 +101,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncRaindrop ) assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: response = await async_client.get_pii_data.with_raw_response.retrieve( @@ -114,7 +114,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncRaindrop) -> None: get_pii_data = await response.parse() assert_matches_type(GetPiiDataRetrieveResponse, get_pii_data, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncRaindrop) -> None: async with async_client.get_pii_data.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_get_procedure.py b/tests/api_resources/test_get_procedure.py index 2b2c706b..1ca8c115 100644 --- a/tests/api_resources/test_get_procedure.py +++ b/tests/api_resources/test_get_procedure.py @@ -17,7 +17,7 @@ class TestGetProcedure: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: get_procedure = client.get_procedure.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: get_procedure = client.get_procedure.create( @@ -48,7 +48,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.get_procedure.with_raw_response.create( @@ -67,7 +67,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: get_procedure = response.parse() assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.get_procedure.with_streaming_response.create( @@ -94,7 +94,7 @@ class TestAsyncGetProcedure: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: get_procedure = await async_client.get_procedure.create( @@ -109,7 +109,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: get_procedure = await async_client.get_procedure.create( @@ -125,7 +125,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.get_procedure.with_raw_response.create( @@ -144,7 +144,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: get_procedure = await response.parse() assert_matches_type(GetProcedureCreateResponse, get_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.get_procedure.with_streaming_response.create( diff --git a/tests/api_resources/test_get_semantic_memory.py b/tests/api_resources/test_get_semantic_memory.py index ec71a0fc..29056805 100644 --- a/tests/api_resources/test_get_semantic_memory.py +++ b/tests/api_resources/test_get_semantic_memory.py @@ -17,7 +17,7 @@ class TestGetSemanticMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: get_semantic_memory = client.get_semantic_memory.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(GetSemanticMemoryCreateResponse, get_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.get_semantic_memory.with_raw_response.create( @@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: get_semantic_memory = response.parse() assert_matches_type(GetSemanticMemoryCreateResponse, get_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.get_semantic_memory.with_streaming_response.create( @@ -78,7 +78,7 @@ class TestAsyncGetSemanticMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: get_semantic_memory = await async_client.get_semantic_memory.create( @@ -93,7 +93,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(GetSemanticMemoryCreateResponse, get_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.get_semantic_memory.with_raw_response.create( @@ -112,7 +112,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: get_semantic_memory = await response.parse() assert_matches_type(GetSemanticMemoryCreateResponse, get_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.get_semantic_memory.with_streaming_response.create( diff --git a/tests/api_resources/test_list_procedures.py b/tests/api_resources/test_list_procedures.py index f6dd6942..41a46ed1 100644 --- a/tests/api_resources/test_list_procedures.py +++ b/tests/api_resources/test_list_procedures.py @@ -17,7 +17,7 @@ class TestListProcedures: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: list_procedure = client.list_procedures.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: list_procedure = client.list_procedures.create( @@ -46,7 +46,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.list_procedures.with_raw_response.create( @@ -64,7 +64,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: list_procedure = response.parse() assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.list_procedures.with_streaming_response.create( @@ -90,7 +90,7 @@ class TestAsyncListProcedures: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: list_procedure = await async_client.list_procedures.create( @@ -104,7 +104,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: list_procedure = await async_client.list_procedures.create( @@ -119,7 +119,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.list_procedures.with_raw_response.create( @@ -137,7 +137,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: list_procedure = await response.parse() assert_matches_type(ListProcedureCreateResponse, list_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.list_procedures.with_streaming_response.create( diff --git a/tests/api_resources/test_put_memory.py b/tests/api_resources/test_put_memory.py index 300d687b..eb02ea63 100644 --- a/tests/api_resources/test_put_memory.py +++ b/tests/api_resources/test_put_memory.py @@ -20,7 +20,7 @@ class TestPutMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: put_memory = client.put_memory.create( @@ -36,7 +36,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: put_memory = client.put_memory.create( @@ -55,7 +55,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.put_memory.with_raw_response.create( @@ -75,7 +75,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: put_memory = response.parse() assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.put_memory.with_streaming_response.create( @@ -97,7 +97,7 @@ def test_streaming_response_create(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_batch(self, client: Raindrop) -> None: put_memory = client.put_memory.create_batch( @@ -113,7 +113,7 @@ def test_method_create_batch(self, client: Raindrop) -> None: ) assert_matches_type(PutMemoryCreateBatchResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create_batch(self, client: Raindrop) -> None: response = client.put_memory.with_raw_response.create_batch( @@ -133,7 +133,7 @@ def test_raw_response_create_batch(self, client: Raindrop) -> None: put_memory = response.parse() assert_matches_type(PutMemoryCreateBatchResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create_batch(self, client: Raindrop) -> None: with client.put_memory.with_streaming_response.create_batch( @@ -161,7 +161,7 @@ class TestAsyncPutMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: put_memory = await async_client.put_memory.create( @@ -177,7 +177,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: put_memory = await async_client.put_memory.create( @@ -196,7 +196,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.put_memory.with_raw_response.create( @@ -216,7 +216,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: put_memory = await response.parse() assert_matches_type(PutMemoryCreateResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.put_memory.with_streaming_response.create( @@ -238,7 +238,7 @@ async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_batch(self, async_client: AsyncRaindrop) -> None: put_memory = await async_client.put_memory.create_batch( @@ -254,7 +254,7 @@ async def test_method_create_batch(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(PutMemoryCreateBatchResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create_batch(self, async_client: AsyncRaindrop) -> None: response = await async_client.put_memory.with_raw_response.create_batch( @@ -274,7 +274,7 @@ async def test_raw_response_create_batch(self, async_client: AsyncRaindrop) -> N put_memory = await response.parse() assert_matches_type(PutMemoryCreateBatchResponse, put_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create_batch(self, async_client: AsyncRaindrop) -> None: async with async_client.put_memory.with_streaming_response.create_batch( diff --git a/tests/api_resources/test_put_procedure.py b/tests/api_resources/test_put_procedure.py index 9344a545..5850486b 100644 --- a/tests/api_resources/test_put_procedure.py +++ b/tests/api_resources/test_put_procedure.py @@ -17,7 +17,7 @@ class TestPutProcedure: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: put_procedure = client.put_procedure.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: put_procedure = client.put_procedure.create( @@ -50,7 +50,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.put_procedure.with_raw_response.create( @@ -70,7 +70,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: put_procedure = response.parse() assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.put_procedure.with_streaming_response.create( @@ -98,7 +98,7 @@ class TestAsyncPutProcedure: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: put_procedure = await async_client.put_procedure.create( @@ -114,7 +114,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: put_procedure = await async_client.put_procedure.create( @@ -131,7 +131,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.put_procedure.with_raw_response.create( @@ -151,7 +151,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: put_procedure = await response.parse() assert_matches_type(PutProcedureCreateResponse, put_procedure, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.put_procedure.with_streaming_response.create( diff --git a/tests/api_resources/test_put_semantic_memory.py b/tests/api_resources/test_put_semantic_memory.py index 7ca951f9..205ff215 100644 --- a/tests/api_resources/test_put_semantic_memory.py +++ b/tests/api_resources/test_put_semantic_memory.py @@ -17,7 +17,7 @@ class TestPutSemanticMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: put_semantic_memory = client.put_semantic_memory.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(PutSemanticMemoryCreateResponse, put_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.put_semantic_memory.with_raw_response.create( @@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: put_semantic_memory = response.parse() assert_matches_type(PutSemanticMemoryCreateResponse, put_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.put_semantic_memory.with_streaming_response.create( @@ -78,7 +78,7 @@ class TestAsyncPutSemanticMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: put_semantic_memory = await async_client.put_semantic_memory.create( @@ -93,7 +93,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(PutSemanticMemoryCreateResponse, put_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.put_semantic_memory.with_raw_response.create( @@ -112,7 +112,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: put_semantic_memory = await response.parse() assert_matches_type(PutSemanticMemoryCreateResponse, put_semantic_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.put_semantic_memory.with_streaming_response.create( diff --git a/tests/api_resources/test_query.py b/tests/api_resources/test_query.py index 3d041907..df737e9e 100644 --- a/tests/api_resources/test_query.py +++ b/tests/api_resources/test_query.py @@ -24,7 +24,7 @@ class TestQuery: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_chunk_search(self, client: Raindrop) -> None: query = client.query.chunk_search( @@ -42,7 +42,7 @@ def test_method_chunk_search(self, client: Raindrop) -> None: ) assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_chunk_search_with_all_params(self, client: Raindrop) -> None: query = client.query.chunk_search( @@ -61,7 +61,7 @@ def test_method_chunk_search_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_chunk_search(self, client: Raindrop) -> None: response = client.query.with_raw_response.chunk_search( @@ -83,7 +83,7 @@ def test_raw_response_chunk_search(self, client: Raindrop) -> None: query = response.parse() assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_chunk_search(self, client: Raindrop) -> None: with client.query.with_streaming_response.chunk_search( @@ -107,7 +107,7 @@ def test_streaming_response_chunk_search(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_document_query(self, client: Raindrop) -> None: query = client.query.document_query( @@ -124,7 +124,7 @@ def test_method_document_query(self, client: Raindrop) -> None: ) assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_document_query_with_all_params(self, client: Raindrop) -> None: query = client.query.document_query( @@ -142,7 +142,7 @@ def test_method_document_query_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_document_query(self, client: Raindrop) -> None: response = client.query.with_raw_response.document_query( @@ -163,7 +163,7 @@ def test_raw_response_document_query(self, client: Raindrop) -> None: query = response.parse() assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_document_query(self, client: Raindrop) -> None: with client.query.with_streaming_response.document_query( @@ -186,7 +186,7 @@ def test_streaming_response_document_query(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_paginated_search(self, client: Raindrop) -> None: query = client.query.get_paginated_search( @@ -196,7 +196,7 @@ def test_method_get_paginated_search(self, client: Raindrop) -> None: ) assert_matches_type(SyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_paginated_search_with_all_params(self, client: Raindrop) -> None: query = client.query.get_paginated_search( @@ -207,7 +207,7 @@ def test_method_get_paginated_search_with_all_params(self, client: Raindrop) -> ) assert_matches_type(SyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get_paginated_search(self, client: Raindrop) -> None: response = client.query.with_raw_response.get_paginated_search( @@ -221,7 +221,7 @@ def test_raw_response_get_paginated_search(self, client: Raindrop) -> None: query = response.parse() assert_matches_type(SyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get_paginated_search(self, client: Raindrop) -> None: with client.query.with_streaming_response.get_paginated_search( @@ -237,7 +237,7 @@ def test_streaming_response_get_paginated_search(self, client: Raindrop) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search(self, client: Raindrop) -> None: query = client.query.search( @@ -255,7 +255,7 @@ def test_method_search(self, client: Raindrop) -> None: ) assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_search_with_all_params(self, client: Raindrop) -> None: query = client.query.search( @@ -274,7 +274,7 @@ def test_method_search_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_search(self, client: Raindrop) -> None: response = client.query.with_raw_response.search( @@ -296,7 +296,7 @@ def test_raw_response_search(self, client: Raindrop) -> None: query = response.parse() assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_search(self, client: Raindrop) -> None: with client.query.with_streaming_response.search( @@ -320,7 +320,7 @@ def test_streaming_response_search(self, client: Raindrop) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_sumarize_page(self, client: Raindrop) -> None: query = client.query.sumarize_page( @@ -330,7 +330,7 @@ def test_method_sumarize_page(self, client: Raindrop) -> None: ) assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_sumarize_page_with_all_params(self, client: Raindrop) -> None: query = client.query.sumarize_page( @@ -341,7 +341,7 @@ def test_method_sumarize_page_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_sumarize_page(self, client: Raindrop) -> None: response = client.query.with_raw_response.sumarize_page( @@ -355,7 +355,7 @@ def test_raw_response_sumarize_page(self, client: Raindrop) -> None: query = response.parse() assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_sumarize_page(self, client: Raindrop) -> None: with client.query.with_streaming_response.sumarize_page( @@ -377,7 +377,7 @@ class TestAsyncQuery: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_chunk_search(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.chunk_search( @@ -395,7 +395,7 @@ async def test_method_chunk_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_chunk_search_with_all_params(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.chunk_search( @@ -414,7 +414,7 @@ async def test_method_chunk_search_with_all_params(self, async_client: AsyncRain ) assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_chunk_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.with_raw_response.chunk_search( @@ -436,7 +436,7 @@ async def test_raw_response_chunk_search(self, async_client: AsyncRaindrop) -> N query = await response.parse() assert_matches_type(QueryChunkSearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_chunk_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.with_streaming_response.chunk_search( @@ -460,7 +460,7 @@ async def test_streaming_response_chunk_search(self, async_client: AsyncRaindrop assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_document_query(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.document_query( @@ -477,7 +477,7 @@ async def test_method_document_query(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_document_query_with_all_params(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.document_query( @@ -495,7 +495,7 @@ async def test_method_document_query_with_all_params(self, async_client: AsyncRa ) assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_document_query(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.with_raw_response.document_query( @@ -516,7 +516,7 @@ async def test_raw_response_document_query(self, async_client: AsyncRaindrop) -> query = await response.parse() assert_matches_type(QueryDocumentQueryResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_document_query(self, async_client: AsyncRaindrop) -> None: async with async_client.query.with_streaming_response.document_query( @@ -539,7 +539,7 @@ async def test_streaming_response_document_query(self, async_client: AsyncRaindr assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_paginated_search(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.get_paginated_search( @@ -549,7 +549,7 @@ async def test_method_get_paginated_search(self, async_client: AsyncRaindrop) -> ) assert_matches_type(AsyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_paginated_search_with_all_params(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.get_paginated_search( @@ -560,7 +560,7 @@ async def test_method_get_paginated_search_with_all_params(self, async_client: A ) assert_matches_type(AsyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get_paginated_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.with_raw_response.get_paginated_search( @@ -574,7 +574,7 @@ async def test_raw_response_get_paginated_search(self, async_client: AsyncRaindr query = await response.parse() assert_matches_type(AsyncPageNumber[LiquidmetalV1alpha1TextResult], query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get_paginated_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.with_streaming_response.get_paginated_search( @@ -590,7 +590,7 @@ async def test_streaming_response_get_paginated_search(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.search( @@ -608,7 +608,7 @@ async def test_method_search(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.search( @@ -627,7 +627,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.with_raw_response.search( @@ -649,7 +649,7 @@ async def test_raw_response_search(self, async_client: AsyncRaindrop) -> None: query = await response.parse() assert_matches_type(QuerySearchResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> None: async with async_client.query.with_streaming_response.search( @@ -673,7 +673,7 @@ async def test_streaming_response_search(self, async_client: AsyncRaindrop) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_sumarize_page(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.sumarize_page( @@ -683,7 +683,7 @@ async def test_method_sumarize_page(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_sumarize_page_with_all_params(self, async_client: AsyncRaindrop) -> None: query = await async_client.query.sumarize_page( @@ -694,7 +694,7 @@ async def test_method_sumarize_page_with_all_params(self, async_client: AsyncRai ) assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_sumarize_page(self, async_client: AsyncRaindrop) -> None: response = await async_client.query.with_raw_response.sumarize_page( @@ -708,7 +708,7 @@ async def test_raw_response_sumarize_page(self, async_client: AsyncRaindrop) -> query = await response.parse() assert_matches_type(QuerySumarizePageResponse, query, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_sumarize_page(self, async_client: AsyncRaindrop) -> None: async with async_client.query.with_streaming_response.sumarize_page( diff --git a/tests/api_resources/test_rehydrate_session.py b/tests/api_resources/test_rehydrate_session.py index 927e8096..65154c79 100644 --- a/tests/api_resources/test_rehydrate_session.py +++ b/tests/api_resources/test_rehydrate_session.py @@ -17,7 +17,7 @@ class TestRehydrateSession: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_rehydrate(self, client: Raindrop) -> None: rehydrate_session = client.rehydrate_session.rehydrate( @@ -32,7 +32,7 @@ def test_method_rehydrate(self, client: Raindrop) -> None: ) assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_rehydrate_with_all_params(self, client: Raindrop) -> None: rehydrate_session = client.rehydrate_session.rehydrate( @@ -48,7 +48,7 @@ def test_method_rehydrate_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_rehydrate(self, client: Raindrop) -> None: response = client.rehydrate_session.with_raw_response.rehydrate( @@ -67,7 +67,7 @@ def test_raw_response_rehydrate(self, client: Raindrop) -> None: rehydrate_session = response.parse() assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_rehydrate(self, client: Raindrop) -> None: with client.rehydrate_session.with_streaming_response.rehydrate( @@ -94,7 +94,7 @@ class TestAsyncRehydrateSession: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_rehydrate(self, async_client: AsyncRaindrop) -> None: rehydrate_session = await async_client.rehydrate_session.rehydrate( @@ -109,7 +109,7 @@ async def test_method_rehydrate(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_rehydrate_with_all_params(self, async_client: AsyncRaindrop) -> None: rehydrate_session = await async_client.rehydrate_session.rehydrate( @@ -125,7 +125,7 @@ async def test_method_rehydrate_with_all_params(self, async_client: AsyncRaindro ) assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_rehydrate(self, async_client: AsyncRaindrop) -> None: response = await async_client.rehydrate_session.with_raw_response.rehydrate( @@ -144,7 +144,7 @@ async def test_raw_response_rehydrate(self, async_client: AsyncRaindrop) -> None rehydrate_session = await response.parse() assert_matches_type(RehydrateSessionRehydrateResponse, rehydrate_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_rehydrate(self, async_client: AsyncRaindrop) -> None: async with async_client.rehydrate_session.with_streaming_response.rehydrate( diff --git a/tests/api_resources/test_rehydration_status.py b/tests/api_resources/test_rehydration_status.py index e3b99e67..4e17df99 100644 --- a/tests/api_resources/test_rehydration_status.py +++ b/tests/api_resources/test_rehydration_status.py @@ -17,7 +17,7 @@ class TestRehydrationStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: rehydration_status = client.rehydration_status.create( @@ -32,7 +32,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(RehydrationStatusCreateResponse, rehydration_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.rehydration_status.with_raw_response.create( @@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: rehydration_status = response.parse() assert_matches_type(RehydrationStatusCreateResponse, rehydration_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.rehydration_status.with_streaming_response.create( @@ -78,7 +78,7 @@ class TestAsyncRehydrationStatus: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: rehydration_status = await async_client.rehydration_status.create( @@ -93,7 +93,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(RehydrationStatusCreateResponse, rehydration_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.rehydration_status.with_raw_response.create( @@ -112,7 +112,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: rehydration_status = await response.parse() assert_matches_type(RehydrationStatusCreateResponse, rehydration_status, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.rehydration_status.with_streaming_response.create( diff --git a/tests/api_resources/test_start_session.py b/tests/api_resources/test_start_session.py index 21ad5baf..4a59f897 100644 --- a/tests/api_resources/test_start_session.py +++ b/tests/api_resources/test_start_session.py @@ -17,7 +17,7 @@ class TestStartSession: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: start_session = client.start_session.create( @@ -31,7 +31,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(StartSessionCreateResponse, start_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.start_session.with_raw_response.create( @@ -49,7 +49,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: start_session = response.parse() assert_matches_type(StartSessionCreateResponse, start_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.start_session.with_streaming_response.create( @@ -75,7 +75,7 @@ class TestAsyncStartSession: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: start_session = await async_client.start_session.create( @@ -89,7 +89,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(StartSessionCreateResponse, start_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.start_session.with_raw_response.create( @@ -107,7 +107,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: start_session = await response.parse() assert_matches_type(StartSessionCreateResponse, start_session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.start_session.with_streaming_response.create( diff --git a/tests/api_resources/test_summarize_memory.py b/tests/api_resources/test_summarize_memory.py index c50fdb07..2338c004 100644 --- a/tests/api_resources/test_summarize_memory.py +++ b/tests/api_resources/test_summarize_memory.py @@ -17,7 +17,7 @@ class TestSummarizeMemory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Raindrop) -> None: summarize_memory = client.summarize_memory.create( @@ -33,7 +33,7 @@ def test_method_create(self, client: Raindrop) -> None: ) assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Raindrop) -> None: summarize_memory = client.summarize_memory.create( @@ -50,7 +50,7 @@ def test_method_create_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Raindrop) -> None: response = client.summarize_memory.with_raw_response.create( @@ -70,7 +70,7 @@ def test_raw_response_create(self, client: Raindrop) -> None: summarize_memory = response.parse() assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Raindrop) -> None: with client.summarize_memory.with_streaming_response.create( @@ -98,7 +98,7 @@ class TestAsyncSummarizeMemory: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncRaindrop) -> None: summarize_memory = await async_client.summarize_memory.create( @@ -114,7 +114,7 @@ async def test_method_create(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) -> None: summarize_memory = await async_client.summarize_memory.create( @@ -131,7 +131,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: response = await async_client.summarize_memory.with_raw_response.create( @@ -151,7 +151,7 @@ async def test_raw_response_create(self, async_client: AsyncRaindrop) -> None: summarize_memory = await response.parse() assert_matches_type(SummarizeMemoryCreateResponse, summarize_memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncRaindrop) -> None: async with async_client.summarize_memory.with_streaming_response.create( diff --git a/tests/api_resources/test_update_metadata.py b/tests/api_resources/test_update_metadata.py index e87c18f6..6b9c3a29 100644 --- a/tests/api_resources/test_update_metadata.py +++ b/tests/api_resources/test_update_metadata.py @@ -18,7 +18,7 @@ class TestUpdateMetadata: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update(self, client: Raindrop) -> None: update_metadata = client.update_metadata.update( @@ -27,7 +27,7 @@ def test_method_update(self, client: Raindrop) -> None: ) assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Raindrop) -> None: update_metadata = client.update_metadata.update( @@ -58,7 +58,7 @@ def test_method_update_with_all_params(self, client: Raindrop) -> None: ) assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_update(self, client: Raindrop) -> None: response = client.update_metadata.with_raw_response.update( @@ -71,7 +71,7 @@ def test_raw_response_update(self, client: Raindrop) -> None: update_metadata = response.parse() assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_update(self, client: Raindrop) -> None: with client.update_metadata.with_streaming_response.update( @@ -92,7 +92,7 @@ class TestAsyncUpdateMetadata: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncRaindrop) -> None: update_metadata = await async_client.update_metadata.update( @@ -101,7 +101,7 @@ async def test_method_update(self, async_client: AsyncRaindrop) -> None: ) assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncRaindrop) -> None: update_metadata = await async_client.update_metadata.update( @@ -132,7 +132,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncRaindrop) ) assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncRaindrop) -> None: response = await async_client.update_metadata.with_raw_response.update( @@ -145,7 +145,7 @@ async def test_raw_response_update(self, async_client: AsyncRaindrop) -> None: update_metadata = await response.parse() assert_matches_type(UpdateMetadataUpdateResponse, update_metadata, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncRaindrop) -> None: async with async_client.update_metadata.with_streaming_response.update( diff --git a/tests/test_client.py b/tests/test_client.py index 44bc0a77..af118e0c 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -994,6 +994,14 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None: # Test that the proxy environment variables are set correctly monkeypatch.setenv("HTTPS_PROXY", "https://example.org") + # Delete in case our environment has any proxy env vars set + monkeypatch.delenv("HTTP_PROXY", raising=False) + monkeypatch.delenv("ALL_PROXY", raising=False) + monkeypatch.delenv("NO_PROXY", raising=False) + monkeypatch.delenv("http_proxy", raising=False) + monkeypatch.delenv("https_proxy", raising=False) + monkeypatch.delenv("all_proxy", raising=False) + monkeypatch.delenv("no_proxy", raising=False) client = DefaultHttpxClient() @@ -1947,6 +1955,14 @@ async def test_get_platform(self) -> None: async def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None: # Test that the proxy environment variables are set correctly monkeypatch.setenv("HTTPS_PROXY", "https://example.org") + # Delete in case our environment has any proxy env vars set + monkeypatch.delenv("HTTP_PROXY", raising=False) + monkeypatch.delenv("ALL_PROXY", raising=False) + monkeypatch.delenv("NO_PROXY", raising=False) + monkeypatch.delenv("http_proxy", raising=False) + monkeypatch.delenv("https_proxy", raising=False) + monkeypatch.delenv("all_proxy", raising=False) + monkeypatch.delenv("no_proxy", raising=False) client = DefaultAsyncHttpxClient()