From 2c1457d5017fc4093501861ca2cf99e5112ddeed Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 10 Feb 2026 04:05:42 +0000
Subject: [PATCH 01/15] chore(internal): bump dependencies
---
requirements-dev.lock | 20 ++++++++++----------
requirements.lock | 8 ++++----
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/requirements-dev.lock b/requirements-dev.lock
index d2748b9..9af7970 100644
--- a/requirements-dev.lock
+++ b/requirements-dev.lock
@@ -12,14 +12,14 @@
-e file:.
aiohappyeyeballs==2.6.1
# via aiohttp
-aiohttp==3.13.2
+aiohttp==3.13.3
# via httpx-aiohttp
# via trycourier
aiosignal==1.4.0
# via aiohttp
annotated-types==0.7.0
# via pydantic
-anyio==4.12.0
+anyio==4.12.1
# via httpx
# via trycourier
argcomplete==3.6.3
@@ -31,7 +31,7 @@ attrs==25.4.0
# via nox
backports-asyncio-runner==1.2.0
# via pytest-asyncio
-certifi==2025.11.12
+certifi==2026.1.4
# via httpcore
# via httpx
colorlog==6.10.1
@@ -61,7 +61,7 @@ httpx==0.28.1
# via httpx-aiohttp
# via respx
# via trycourier
-httpx-aiohttp==0.1.9
+httpx-aiohttp==0.1.12
# via trycourier
humanize==4.13.0
# via nox
@@ -69,7 +69,7 @@ idna==3.11
# via anyio
# via httpx
# via yarl
-importlib-metadata==8.7.0
+importlib-metadata==8.7.1
iniconfig==2.1.0
# via pytest
markdown-it-py==3.0.0
@@ -82,14 +82,14 @@ multidict==6.7.0
mypy==1.17.0
mypy-extensions==1.1.0
# via mypy
-nodeenv==1.9.1
+nodeenv==1.10.0
# via pyright
nox==2025.11.12
packaging==25.0
# via dependency-groups
# via nox
# via pytest
-pathspec==0.12.1
+pathspec==1.0.3
# via mypy
platformdirs==4.4.0
# via virtualenv
@@ -115,13 +115,13 @@ python-dateutil==2.9.0.post0
# via time-machine
respx==0.22.0
rich==14.2.0
-ruff==0.14.7
+ruff==0.14.13
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via trycourier
time-machine==2.19.0
-tomli==2.3.0
+tomli==2.4.0
# via dependency-groups
# via mypy
# via nox
@@ -141,7 +141,7 @@ typing-extensions==4.15.0
# via virtualenv
typing-inspection==0.4.2
# via pydantic
-virtualenv==20.35.4
+virtualenv==20.36.1
# via nox
yarl==1.22.0
# via aiohttp
diff --git a/requirements.lock b/requirements.lock
index ca4eeb3..773b46f 100644
--- a/requirements.lock
+++ b/requirements.lock
@@ -12,21 +12,21 @@
-e file:.
aiohappyeyeballs==2.6.1
# via aiohttp
-aiohttp==3.13.2
+aiohttp==3.13.3
# via httpx-aiohttp
# via trycourier
aiosignal==1.4.0
# via aiohttp
annotated-types==0.7.0
# via pydantic
-anyio==4.12.0
+anyio==4.12.1
# via httpx
# via trycourier
async-timeout==5.0.1
# via aiohttp
attrs==25.4.0
# via aiohttp
-certifi==2025.11.12
+certifi==2026.1.4
# via httpcore
# via httpx
distro==1.9.0
@@ -43,7 +43,7 @@ httpcore==1.0.9
httpx==0.28.1
# via httpx-aiohttp
# via trycourier
-httpx-aiohttp==0.1.9
+httpx-aiohttp==0.1.12
# via trycourier
idna==3.11
# via anyio
From 58f8a6e0f5ed3370ef13741188be2691be0aa73f Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 12 Feb 2026 05:08:24 +0000
Subject: [PATCH 02/15] chore(internal): fix lint error on Python 3.14
---
src/courier/_utils/_compat.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/courier/_utils/_compat.py b/src/courier/_utils/_compat.py
index dd70323..2c70b29 100644
--- a/src/courier/_utils/_compat.py
+++ b/src/courier/_utils/_compat.py
@@ -26,7 +26,7 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
else:
import types
- return tp is Union or tp is types.UnionType
+ return tp is Union or tp is types.UnionType # type: ignore[comparison-overlap]
def is_typeddict(tp: Type[Any]) -> bool:
From 1354ff8604b5732982ab3a36e3ed856070473ba5 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 12 Feb 2026 19:46:25 +0000
Subject: [PATCH 03/15] feat(api): remove brand field from ElementalContent
---
.stats.yml | 4 ++--
src/courier/types/shared/elemental_content.py | 4 +---
src/courier/types/shared_params/elemental_content.py | 4 +---
tests/api_resources/tenants/test_templates.py | 2 --
4 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 17749e2..290f28d 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-3fc1c86b4a83a16393aaf17d1fb3ac6098d30dd057ba872973b57285a7a3f0d0.yml
-openapi_spec_hash: 02a545d217b13399f311e99561f9de1d
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
+openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
config_hash: 0789c3cddc625bb9712b3bded274ab6c
diff --git a/src/courier/types/shared/elemental_content.py b/src/courier/types/shared/elemental_content.py
index 4a099fb..24d0636 100644
--- a/src/courier/types/shared/elemental_content.py
+++ b/src/courier/types/shared/elemental_content.py
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import List, Optional
+from typing import List
from ..._models import BaseModel
from .elemental_node import ElementalNode
@@ -13,5 +13,3 @@ class ElementalContent(BaseModel):
version: str
"""For example, "2022-01-01" """
-
- brand: Optional[str] = None
diff --git a/src/courier/types/shared_params/elemental_content.py b/src/courier/types/shared_params/elemental_content.py
index 81dbae8..8e57dbe 100644
--- a/src/courier/types/shared_params/elemental_content.py
+++ b/src/courier/types/shared_params/elemental_content.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Iterable, Optional
+from typing import Iterable
from typing_extensions import Required, TypedDict
from .elemental_node import ElementalNode
@@ -15,5 +15,3 @@ class ElementalContent(TypedDict, total=False):
version: Required[str]
"""For example, "2022-01-01" """
-
- brand: Optional[str]
diff --git a/tests/api_resources/tenants/test_templates.py b/tests/api_resources/tenants/test_templates.py
index 6805fb0..430b198 100644
--- a/tests/api_resources/tenants/test_templates.py
+++ b/tests/api_resources/tenants/test_templates.py
@@ -223,7 +223,6 @@ def test_method_replace_with_all_params(self, client: Courier) -> None:
}
],
"version": "version",
- "brand": "brand",
},
"channels": {
"foo": {
@@ -544,7 +543,6 @@ async def test_method_replace_with_all_params(self, async_client: AsyncCourier)
}
],
"version": "version",
- "brand": "brand",
},
"channels": {
"foo": {
From 0b4aca79b5d4c568aa262978040f57a2ba540f6f Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 13 Feb 2026 03:58:20 +0000
Subject: [PATCH 04/15] chore: format all `api.md` files
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 71b5355..492037b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -69,7 +69,7 @@ format = { chain = [
# run formatting again to fix any inconsistencies when imports are stripped
"format:ruff",
]}
-"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md"
+"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'"
"format:ruff" = "ruff format"
"lint" = { chain = [
From 31b4e07803c62389646e9037ca1056508525c075 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 20 Feb 2026 04:50:09 +0000
Subject: [PATCH 05/15] chore(internal): remove mock server code
---
scripts/mock | 41 -----------------------------------------
scripts/test | 46 ----------------------------------------------
2 files changed, 87 deletions(-)
delete mode 100755 scripts/mock
diff --git a/scripts/mock b/scripts/mock
deleted file mode 100755
index 0b28f6e..0000000
--- 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 dbeda2d..39729d0 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
From f18d539df79d21c9e4484bfdc865dd68523e1920 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 20 Feb 2026 04:51:13 +0000
Subject: [PATCH 06/15] chore: update mock server docs
---
CONTRIBUTING.md | 7 --
.../api_resources/automations/test_invoke.py | 36 +++----
.../api_resources/lists/test_subscriptions.py | 88 +++++++--------
.../notifications/test_checks.py | 48 ++++-----
.../api_resources/notifications/test_draft.py | 16 +--
tests/api_resources/profiles/test_lists.py | 52 ++++-----
.../tenants/preferences/test_items.py | 36 +++----
.../tenants/templates/test_versions.py | 16 +--
tests/api_resources/tenants/test_templates.py | 76 ++++++-------
tests/api_resources/test_audiences.py | 88 +++++++--------
tests/api_resources/test_audit_events.py | 32 +++---
tests/api_resources/test_auth.py | 12 +--
tests/api_resources/test_automations.py | 16 +--
tests/api_resources/test_brands.py | 84 +++++++--------
tests/api_resources/test_bulk.py | 84 +++++++--------
tests/api_resources/test_inbound.py | 16 +--
tests/api_resources/test_lists.py | 84 +++++++--------
tests/api_resources/test_messages.py | 84 +++++++--------
tests/api_resources/test_notifications.py | 32 +++---
tests/api_resources/test_profiles.py | 80 +++++++-------
tests/api_resources/test_requests.py | 16 +--
tests/api_resources/test_send.py | 16 +--
tests/api_resources/test_tenants.py | 88 +++++++--------
tests/api_resources/test_translations.py | 32 +++---
tests/api_resources/users/test_preferences.py | 60 +++++------
tests/api_resources/users/test_tenants.py | 88 +++++++--------
tests/api_resources/users/test_tokens.py | 100 +++++++++---------
27 files changed, 690 insertions(+), 697 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f1e3d0c..c774a81 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/tests/api_resources/automations/test_invoke.py b/tests/api_resources/automations/test_invoke.py
index 9e0210b..081b600 100644
--- a/tests/api_resources/automations/test_invoke.py
+++ b/tests/api_resources/automations/test_invoke.py
@@ -17,7 +17,7 @@
class TestInvoke:
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_invoke_ad_hoc(self, client: Courier) -> None:
invoke = client.automations.invoke.invoke_ad_hoc(
@@ -25,7 +25,7 @@ def test_method_invoke_ad_hoc(self, client: Courier) -> None:
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_invoke_ad_hoc_with_all_params(self, client: Courier) -> None:
invoke = client.automations.invoke.invoke_ad_hoc(
@@ -55,7 +55,7 @@ def test_method_invoke_ad_hoc_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_invoke_ad_hoc(self, client: Courier) -> None:
response = client.automations.invoke.with_raw_response.invoke_ad_hoc(
@@ -67,7 +67,7 @@ def test_raw_response_invoke_ad_hoc(self, client: Courier) -> None:
invoke = response.parse()
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_invoke_ad_hoc(self, client: Courier) -> None:
with client.automations.invoke.with_streaming_response.invoke_ad_hoc(
@@ -81,7 +81,7 @@ def test_streaming_response_invoke_ad_hoc(self, client: Courier) -> 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_invoke_by_template(self, client: Courier) -> None:
invoke = client.automations.invoke.invoke_by_template(
@@ -90,7 +90,7 @@ def test_method_invoke_by_template(self, client: Courier) -> None:
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_invoke_by_template_with_all_params(self, client: Courier) -> None:
invoke = client.automations.invoke.invoke_by_template(
@@ -103,7 +103,7 @@ def test_method_invoke_by_template_with_all_params(self, client: Courier) -> Non
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_invoke_by_template(self, client: Courier) -> None:
response = client.automations.invoke.with_raw_response.invoke_by_template(
@@ -116,7 +116,7 @@ def test_raw_response_invoke_by_template(self, client: Courier) -> None:
invoke = response.parse()
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_invoke_by_template(self, client: Courier) -> None:
with client.automations.invoke.with_streaming_response.invoke_by_template(
@@ -131,7 +131,7 @@ def test_streaming_response_invoke_by_template(self, client: Courier) -> 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_path_params_invoke_by_template(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `template_id` but received ''"):
@@ -146,7 +146,7 @@ class TestAsyncInvoke:
"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_invoke_ad_hoc(self, async_client: AsyncCourier) -> None:
invoke = await async_client.automations.invoke.invoke_ad_hoc(
@@ -154,7 +154,7 @@ async def test_method_invoke_ad_hoc(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_invoke_ad_hoc_with_all_params(self, async_client: AsyncCourier) -> None:
invoke = await async_client.automations.invoke.invoke_ad_hoc(
@@ -184,7 +184,7 @@ async def test_method_invoke_ad_hoc_with_all_params(self, async_client: AsyncCou
)
assert_matches_type(AutomationInvokeResponse, invoke, 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_invoke_ad_hoc(self, async_client: AsyncCourier) -> None:
response = await async_client.automations.invoke.with_raw_response.invoke_ad_hoc(
@@ -196,7 +196,7 @@ async def test_raw_response_invoke_ad_hoc(self, async_client: AsyncCourier) -> N
invoke = await response.parse()
assert_matches_type(AutomationInvokeResponse, invoke, 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_invoke_ad_hoc(self, async_client: AsyncCourier) -> None:
async with async_client.automations.invoke.with_streaming_response.invoke_ad_hoc(
@@ -210,7 +210,7 @@ async def test_streaming_response_invoke_ad_hoc(self, async_client: AsyncCourier
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_invoke_by_template(self, async_client: AsyncCourier) -> None:
invoke = await async_client.automations.invoke.invoke_by_template(
@@ -219,7 +219,7 @@ async def test_method_invoke_by_template(self, async_client: AsyncCourier) -> No
)
assert_matches_type(AutomationInvokeResponse, invoke, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_invoke_by_template_with_all_params(self, async_client: AsyncCourier) -> None:
invoke = await async_client.automations.invoke.invoke_by_template(
@@ -232,7 +232,7 @@ async def test_method_invoke_by_template_with_all_params(self, async_client: Asy
)
assert_matches_type(AutomationInvokeResponse, invoke, 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_invoke_by_template(self, async_client: AsyncCourier) -> None:
response = await async_client.automations.invoke.with_raw_response.invoke_by_template(
@@ -245,7 +245,7 @@ async def test_raw_response_invoke_by_template(self, async_client: AsyncCourier)
invoke = await response.parse()
assert_matches_type(AutomationInvokeResponse, invoke, 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_invoke_by_template(self, async_client: AsyncCourier) -> None:
async with async_client.automations.invoke.with_streaming_response.invoke_by_template(
@@ -260,7 +260,7 @@ async def test_streaming_response_invoke_by_template(self, async_client: AsyncCo
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_path_params_invoke_by_template(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `template_id` but received ''"):
diff --git a/tests/api_resources/lists/test_subscriptions.py b/tests/api_resources/lists/test_subscriptions.py
index ca89092..ee6936d 100644
--- a/tests/api_resources/lists/test_subscriptions.py
+++ b/tests/api_resources/lists/test_subscriptions.py
@@ -19,7 +19,7 @@
class TestSubscriptions:
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: Courier) -> None:
subscription = client.lists.subscriptions.list(
@@ -27,7 +27,7 @@ def test_method_list(self, client: Courier) -> None:
)
assert_matches_type(SubscriptionListResponse, subscription, 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: Courier) -> None:
subscription = client.lists.subscriptions.list(
@@ -36,7 +36,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(SubscriptionListResponse, subscription, 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: Courier) -> None:
response = client.lists.subscriptions.with_raw_response.list(
@@ -48,7 +48,7 @@ def test_raw_response_list(self, client: Courier) -> None:
subscription = response.parse()
assert_matches_type(SubscriptionListResponse, subscription, 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: Courier) -> None:
with client.lists.subscriptions.with_streaming_response.list(
@@ -62,7 +62,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_path_params_list(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -70,7 +70,7 @@ def test_path_params_list(self, client: Courier) -> None:
list_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add(self, client: Courier) -> None:
subscription = client.lists.subscriptions.add(
@@ -79,7 +79,7 @@ def test_method_add(self, client: Courier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add(self, client: Courier) -> None:
response = client.lists.subscriptions.with_raw_response.add(
@@ -92,7 +92,7 @@ def test_raw_response_add(self, client: Courier) -> None:
subscription = response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add(self, client: Courier) -> None:
with client.lists.subscriptions.with_streaming_response.add(
@@ -107,7 +107,7 @@ def test_streaming_response_add(self, client: Courier) -> 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_path_params_add(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -116,7 +116,7 @@ def test_path_params_add(self, client: Courier) -> None:
recipients=[{"recipient_id": "recipientId"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_subscribe(self, client: Courier) -> None:
subscription = client.lists.subscriptions.subscribe(
@@ -125,7 +125,7 @@ def test_method_subscribe(self, client: Courier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_subscribe(self, client: Courier) -> None:
response = client.lists.subscriptions.with_raw_response.subscribe(
@@ -138,7 +138,7 @@ def test_raw_response_subscribe(self, client: Courier) -> None:
subscription = response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_subscribe(self, client: Courier) -> None:
with client.lists.subscriptions.with_streaming_response.subscribe(
@@ -153,7 +153,7 @@ def test_streaming_response_subscribe(self, client: Courier) -> 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_path_params_subscribe(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -162,7 +162,7 @@ def test_path_params_subscribe(self, client: Courier) -> None:
recipients=[{"recipient_id": "recipientId"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_subscribe_user(self, client: Courier) -> None:
subscription = client.lists.subscriptions.subscribe_user(
@@ -171,7 +171,7 @@ def test_method_subscribe_user(self, client: Courier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_subscribe_user_with_all_params(self, client: Courier) -> None:
subscription = client.lists.subscriptions.subscribe_user(
@@ -206,7 +206,7 @@ def test_method_subscribe_user_with_all_params(self, client: Courier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_subscribe_user(self, client: Courier) -> None:
response = client.lists.subscriptions.with_raw_response.subscribe_user(
@@ -219,7 +219,7 @@ def test_raw_response_subscribe_user(self, client: Courier) -> None:
subscription = response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_subscribe_user(self, client: Courier) -> None:
with client.lists.subscriptions.with_streaming_response.subscribe_user(
@@ -234,7 +234,7 @@ def test_streaming_response_subscribe_user(self, client: Courier) -> 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_path_params_subscribe_user(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -249,7 +249,7 @@ def test_path_params_subscribe_user(self, client: Courier) -> None:
list_id="list_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_unsubscribe_user(self, client: Courier) -> None:
subscription = client.lists.subscriptions.unsubscribe_user(
@@ -258,7 +258,7 @@ def test_method_unsubscribe_user(self, client: Courier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_unsubscribe_user(self, client: Courier) -> None:
response = client.lists.subscriptions.with_raw_response.unsubscribe_user(
@@ -271,7 +271,7 @@ def test_raw_response_unsubscribe_user(self, client: Courier) -> None:
subscription = response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_unsubscribe_user(self, client: Courier) -> None:
with client.lists.subscriptions.with_streaming_response.unsubscribe_user(
@@ -286,7 +286,7 @@ def test_streaming_response_unsubscribe_user(self, client: Courier) -> 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_path_params_unsubscribe_user(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -307,7 +307,7 @@ class TestAsyncSubscriptions:
"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: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.list(
@@ -315,7 +315,7 @@ async def test_method_list(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(SubscriptionListResponse, subscription, 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: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.list(
@@ -324,7 +324,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(SubscriptionListResponse, subscription, 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: AsyncCourier) -> None:
response = await async_client.lists.subscriptions.with_raw_response.list(
@@ -336,7 +336,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
subscription = await response.parse()
assert_matches_type(SubscriptionListResponse, subscription, 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: AsyncCourier) -> None:
async with async_client.lists.subscriptions.with_streaming_response.list(
@@ -350,7 +350,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_path_params_list(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -358,7 +358,7 @@ async def test_path_params_list(self, async_client: AsyncCourier) -> None:
list_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add(self, async_client: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.add(
@@ -367,7 +367,7 @@ async def test_method_add(self, async_client: AsyncCourier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add(self, async_client: AsyncCourier) -> None:
response = await async_client.lists.subscriptions.with_raw_response.add(
@@ -380,7 +380,7 @@ async def test_raw_response_add(self, async_client: AsyncCourier) -> None:
subscription = await response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add(self, async_client: AsyncCourier) -> None:
async with async_client.lists.subscriptions.with_streaming_response.add(
@@ -395,7 +395,7 @@ async def test_streaming_response_add(self, async_client: AsyncCourier) -> 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_path_params_add(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -404,7 +404,7 @@ async def test_path_params_add(self, async_client: AsyncCourier) -> None:
recipients=[{"recipient_id": "recipientId"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_subscribe(self, async_client: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.subscribe(
@@ -413,7 +413,7 @@ async def test_method_subscribe(self, async_client: AsyncCourier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_subscribe(self, async_client: AsyncCourier) -> None:
response = await async_client.lists.subscriptions.with_raw_response.subscribe(
@@ -426,7 +426,7 @@ async def test_raw_response_subscribe(self, async_client: AsyncCourier) -> None:
subscription = await response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_subscribe(self, async_client: AsyncCourier) -> None:
async with async_client.lists.subscriptions.with_streaming_response.subscribe(
@@ -441,7 +441,7 @@ async def test_streaming_response_subscribe(self, async_client: AsyncCourier) ->
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_path_params_subscribe(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -450,7 +450,7 @@ async def test_path_params_subscribe(self, async_client: AsyncCourier) -> None:
recipients=[{"recipient_id": "recipientId"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_subscribe_user(self, async_client: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.subscribe_user(
@@ -459,7 +459,7 @@ async def test_method_subscribe_user(self, async_client: AsyncCourier) -> None:
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_subscribe_user_with_all_params(self, async_client: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.subscribe_user(
@@ -494,7 +494,7 @@ async def test_method_subscribe_user_with_all_params(self, async_client: AsyncCo
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_subscribe_user(self, async_client: AsyncCourier) -> None:
response = await async_client.lists.subscriptions.with_raw_response.subscribe_user(
@@ -507,7 +507,7 @@ async def test_raw_response_subscribe_user(self, async_client: AsyncCourier) ->
subscription = await response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_subscribe_user(self, async_client: AsyncCourier) -> None:
async with async_client.lists.subscriptions.with_streaming_response.subscribe_user(
@@ -522,7 +522,7 @@ async def test_streaming_response_subscribe_user(self, async_client: AsyncCourie
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_path_params_subscribe_user(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -537,7 +537,7 @@ async def test_path_params_subscribe_user(self, async_client: AsyncCourier) -> N
list_id="list_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_unsubscribe_user(self, async_client: AsyncCourier) -> None:
subscription = await async_client.lists.subscriptions.unsubscribe_user(
@@ -546,7 +546,7 @@ async def test_method_unsubscribe_user(self, async_client: AsyncCourier) -> None
)
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_unsubscribe_user(self, async_client: AsyncCourier) -> None:
response = await async_client.lists.subscriptions.with_raw_response.unsubscribe_user(
@@ -559,7 +559,7 @@ async def test_raw_response_unsubscribe_user(self, async_client: AsyncCourier) -
subscription = await response.parse()
assert subscription is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_unsubscribe_user(self, async_client: AsyncCourier) -> None:
async with async_client.lists.subscriptions.with_streaming_response.unsubscribe_user(
@@ -574,7 +574,7 @@ async def test_streaming_response_unsubscribe_user(self, async_client: AsyncCour
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_path_params_unsubscribe_user(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
diff --git a/tests/api_resources/notifications/test_checks.py b/tests/api_resources/notifications/test_checks.py
index 8e4c059..42b2c4e 100644
--- a/tests/api_resources/notifications/test_checks.py
+++ b/tests/api_resources/notifications/test_checks.py
@@ -17,7 +17,7 @@
class TestChecks:
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: Courier) -> None:
check = client.notifications.checks.update(
@@ -33,7 +33,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert_matches_type(CheckUpdateResponse, check, 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: Courier) -> None:
response = client.notifications.checks.with_raw_response.update(
@@ -53,7 +53,7 @@ def test_raw_response_update(self, client: Courier) -> None:
check = response.parse()
assert_matches_type(CheckUpdateResponse, check, 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: Courier) -> None:
with client.notifications.checks.with_streaming_response.update(
@@ -75,7 +75,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -104,7 +104,7 @@ def test_path_params_update(self, client: Courier) -> None:
],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
check = client.notifications.checks.list(
@@ -113,7 +113,7 @@ def test_method_list(self, client: Courier) -> None:
)
assert_matches_type(CheckListResponse, check, 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: Courier) -> None:
response = client.notifications.checks.with_raw_response.list(
@@ -126,7 +126,7 @@ def test_raw_response_list(self, client: Courier) -> None:
check = response.parse()
assert_matches_type(CheckListResponse, check, 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: Courier) -> None:
with client.notifications.checks.with_streaming_response.list(
@@ -141,7 +141,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_path_params_list(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -156,7 +156,7 @@ def test_path_params_list(self, client: Courier) -> None:
id="id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_delete(self, client: Courier) -> None:
check = client.notifications.checks.delete(
@@ -165,7 +165,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert check is None
- @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: Courier) -> None:
response = client.notifications.checks.with_raw_response.delete(
@@ -178,7 +178,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
check = response.parse()
assert check is None
- @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: Courier) -> None:
with client.notifications.checks.with_streaming_response.delete(
@@ -193,7 +193,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -214,7 +214,7 @@ class TestAsyncChecks:
"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: AsyncCourier) -> None:
check = await async_client.notifications.checks.update(
@@ -230,7 +230,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(CheckUpdateResponse, check, 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: AsyncCourier) -> None:
response = await async_client.notifications.checks.with_raw_response.update(
@@ -250,7 +250,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
check = await response.parse()
assert_matches_type(CheckUpdateResponse, check, 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: AsyncCourier) -> None:
async with async_client.notifications.checks.with_streaming_response.update(
@@ -272,7 +272,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -301,7 +301,7 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
],
)
- @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: AsyncCourier) -> None:
check = await async_client.notifications.checks.list(
@@ -310,7 +310,7 @@ async def test_method_list(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(CheckListResponse, check, 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: AsyncCourier) -> None:
response = await async_client.notifications.checks.with_raw_response.list(
@@ -323,7 +323,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
check = await response.parse()
assert_matches_type(CheckListResponse, check, 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: AsyncCourier) -> None:
async with async_client.notifications.checks.with_streaming_response.list(
@@ -338,7 +338,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_path_params_list(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -353,7 +353,7 @@ async def test_path_params_list(self, async_client: AsyncCourier) -> None:
id="id",
)
- @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: AsyncCourier) -> None:
check = await async_client.notifications.checks.delete(
@@ -362,7 +362,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert check is None
- @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: AsyncCourier) -> None:
response = await async_client.notifications.checks.with_raw_response.delete(
@@ -375,7 +375,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
check = await response.parse()
assert check is None
- @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: AsyncCourier) -> None:
async with async_client.notifications.checks.with_streaming_response.delete(
@@ -390,7 +390,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
diff --git a/tests/api_resources/notifications/test_draft.py b/tests/api_resources/notifications/test_draft.py
index b975930..9cb97d4 100644
--- a/tests/api_resources/notifications/test_draft.py
+++ b/tests/api_resources/notifications/test_draft.py
@@ -17,7 +17,7 @@
class TestDraft:
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_content(self, client: Courier) -> None:
draft = client.notifications.draft.retrieve_content(
@@ -25,7 +25,7 @@ def test_method_retrieve_content(self, client: Courier) -> None:
)
assert_matches_type(NotificationGetContent, draft, 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_content(self, client: Courier) -> None:
response = client.notifications.draft.with_raw_response.retrieve_content(
@@ -37,7 +37,7 @@ def test_raw_response_retrieve_content(self, client: Courier) -> None:
draft = response.parse()
assert_matches_type(NotificationGetContent, draft, 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_content(self, client: Courier) -> None:
with client.notifications.draft.with_streaming_response.retrieve_content(
@@ -51,7 +51,7 @@ def test_streaming_response_retrieve_content(self, client: Courier) -> 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_path_params_retrieve_content(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -65,7 +65,7 @@ class TestAsyncDraft:
"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_content(self, async_client: AsyncCourier) -> None:
draft = await async_client.notifications.draft.retrieve_content(
@@ -73,7 +73,7 @@ async def test_method_retrieve_content(self, async_client: AsyncCourier) -> None
)
assert_matches_type(NotificationGetContent, draft, 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_content(self, async_client: AsyncCourier) -> None:
response = await async_client.notifications.draft.with_raw_response.retrieve_content(
@@ -85,7 +85,7 @@ async def test_raw_response_retrieve_content(self, async_client: AsyncCourier) -
draft = await response.parse()
assert_matches_type(NotificationGetContent, draft, 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_content(self, async_client: AsyncCourier) -> None:
async with async_client.notifications.draft.with_streaming_response.retrieve_content(
@@ -99,7 +99,7 @@ async def test_streaming_response_retrieve_content(self, async_client: AsyncCour
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_path_params_retrieve_content(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
diff --git a/tests/api_resources/profiles/test_lists.py b/tests/api_resources/profiles/test_lists.py
index 5bcdfd3..83aeb96 100644
--- a/tests/api_resources/profiles/test_lists.py
+++ b/tests/api_resources/profiles/test_lists.py
@@ -21,7 +21,7 @@
class TestLists:
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: Courier) -> None:
list_ = client.profiles.lists.retrieve(
@@ -29,7 +29,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(ListRetrieveResponse, list_, 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: Courier) -> None:
list_ = client.profiles.lists.retrieve(
@@ -38,7 +38,7 @@ def test_method_retrieve_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(ListRetrieveResponse, list_, 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: Courier) -> None:
response = client.profiles.lists.with_raw_response.retrieve(
@@ -50,7 +50,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
list_ = response.parse()
assert_matches_type(ListRetrieveResponse, list_, 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: Courier) -> None:
with client.profiles.lists.with_streaming_response.retrieve(
@@ -64,7 +64,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -72,7 +72,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
user_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_delete(self, client: Courier) -> None:
list_ = client.profiles.lists.delete(
@@ -80,7 +80,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert_matches_type(ListDeleteResponse, list_, 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: Courier) -> None:
response = client.profiles.lists.with_raw_response.delete(
@@ -92,7 +92,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
list_ = response.parse()
assert_matches_type(ListDeleteResponse, list_, 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: Courier) -> None:
with client.profiles.lists.with_streaming_response.delete(
@@ -106,7 +106,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -114,7 +114,7 @@ def test_path_params_delete(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_subscribe(self, client: Courier) -> None:
list_ = client.profiles.lists.subscribe(
@@ -123,7 +123,7 @@ def test_method_subscribe(self, client: Courier) -> None:
)
assert_matches_type(ListSubscribeResponse, list_, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_subscribe(self, client: Courier) -> None:
response = client.profiles.lists.with_raw_response.subscribe(
@@ -136,7 +136,7 @@ def test_raw_response_subscribe(self, client: Courier) -> None:
list_ = response.parse()
assert_matches_type(ListSubscribeResponse, list_, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_subscribe(self, client: Courier) -> None:
with client.profiles.lists.with_streaming_response.subscribe(
@@ -151,7 +151,7 @@ def test_streaming_response_subscribe(self, client: Courier) -> 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_path_params_subscribe(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -166,7 +166,7 @@ class TestAsyncLists:
"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: AsyncCourier) -> None:
list_ = await async_client.profiles.lists.retrieve(
@@ -174,7 +174,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ListRetrieveResponse, list_, 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: AsyncCourier) -> None:
list_ = await async_client.profiles.lists.retrieve(
@@ -183,7 +183,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(ListRetrieveResponse, list_, 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: AsyncCourier) -> None:
response = await async_client.profiles.lists.with_raw_response.retrieve(
@@ -195,7 +195,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert_matches_type(ListRetrieveResponse, list_, 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: AsyncCourier) -> None:
async with async_client.profiles.lists.with_streaming_response.retrieve(
@@ -209,7 +209,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -217,7 +217,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
user_id="",
)
- @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: AsyncCourier) -> None:
list_ = await async_client.profiles.lists.delete(
@@ -225,7 +225,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ListDeleteResponse, list_, 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: AsyncCourier) -> None:
response = await async_client.profiles.lists.with_raw_response.delete(
@@ -237,7 +237,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert_matches_type(ListDeleteResponse, list_, 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: AsyncCourier) -> None:
async with async_client.profiles.lists.with_streaming_response.delete(
@@ -251,7 +251,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -259,7 +259,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_subscribe(self, async_client: AsyncCourier) -> None:
list_ = await async_client.profiles.lists.subscribe(
@@ -268,7 +268,7 @@ async def test_method_subscribe(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ListSubscribeResponse, list_, 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_subscribe(self, async_client: AsyncCourier) -> None:
response = await async_client.profiles.lists.with_raw_response.subscribe(
@@ -281,7 +281,7 @@ async def test_raw_response_subscribe(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert_matches_type(ListSubscribeResponse, list_, 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_subscribe(self, async_client: AsyncCourier) -> None:
async with async_client.profiles.lists.with_streaming_response.subscribe(
@@ -296,7 +296,7 @@ async def test_streaming_response_subscribe(self, async_client: AsyncCourier) ->
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_path_params_subscribe(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
diff --git a/tests/api_resources/tenants/preferences/test_items.py b/tests/api_resources/tenants/preferences/test_items.py
index e225fb3..5da4429 100644
--- a/tests/api_resources/tenants/preferences/test_items.py
+++ b/tests/api_resources/tenants/preferences/test_items.py
@@ -15,7 +15,7 @@
class TestItems:
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: Courier) -> None:
item = client.tenants.preferences.items.update(
@@ -25,7 +25,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert item is None
- @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: Courier) -> None:
item = client.tenants.preferences.items.update(
@@ -37,7 +37,7 @@ def test_method_update_with_all_params(self, client: Courier) -> None:
)
assert item is None
- @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: Courier) -> None:
response = client.tenants.preferences.items.with_raw_response.update(
@@ -51,7 +51,7 @@ def test_raw_response_update(self, client: Courier) -> None:
item = response.parse()
assert item is None
- @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: Courier) -> None:
with client.tenants.preferences.items.with_streaming_response.update(
@@ -67,7 +67,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -84,7 +84,7 @@ def test_path_params_update(self, client: Courier) -> None:
status="OPTED_IN",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_delete(self, client: Courier) -> None:
item = client.tenants.preferences.items.delete(
@@ -93,7 +93,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert item is None
- @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: Courier) -> None:
response = client.tenants.preferences.items.with_raw_response.delete(
@@ -106,7 +106,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
item = response.parse()
assert item is None
- @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: Courier) -> None:
with client.tenants.preferences.items.with_streaming_response.delete(
@@ -121,7 +121,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -142,7 +142,7 @@ class TestAsyncItems:
"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: AsyncCourier) -> None:
item = await async_client.tenants.preferences.items.update(
@@ -152,7 +152,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert item is None
- @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: AsyncCourier) -> None:
item = await async_client.tenants.preferences.items.update(
@@ -164,7 +164,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCourier) -
)
assert item is None
- @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: AsyncCourier) -> None:
response = await async_client.tenants.preferences.items.with_raw_response.update(
@@ -178,7 +178,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
item = await response.parse()
assert item is None
- @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: AsyncCourier) -> None:
async with async_client.tenants.preferences.items.with_streaming_response.update(
@@ -194,7 +194,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -211,7 +211,7 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
status="OPTED_IN",
)
- @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: AsyncCourier) -> None:
item = await async_client.tenants.preferences.items.delete(
@@ -220,7 +220,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert item is None
- @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: AsyncCourier) -> None:
response = await async_client.tenants.preferences.items.with_raw_response.delete(
@@ -233,7 +233,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
item = await response.parse()
assert item is None
- @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: AsyncCourier) -> None:
async with async_client.tenants.preferences.items.with_streaming_response.delete(
@@ -248,7 +248,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
diff --git a/tests/api_resources/tenants/templates/test_versions.py b/tests/api_resources/tenants/templates/test_versions.py
index dcc8f82..0267163 100644
--- a/tests/api_resources/tenants/templates/test_versions.py
+++ b/tests/api_resources/tenants/templates/test_versions.py
@@ -17,7 +17,7 @@
class TestVersions:
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: Courier) -> None:
version = client.tenants.templates.versions.retrieve(
@@ -27,7 +27,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(BaseTemplateTenantAssociation, version, 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: Courier) -> None:
response = client.tenants.templates.versions.with_raw_response.retrieve(
@@ -41,7 +41,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
version = response.parse()
assert_matches_type(BaseTemplateTenantAssociation, version, 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: Courier) -> None:
with client.tenants.templates.versions.with_streaming_response.retrieve(
@@ -57,7 +57,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -87,7 +87,7 @@ class TestAsyncVersions:
"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: AsyncCourier) -> None:
version = await async_client.tenants.templates.versions.retrieve(
@@ -97,7 +97,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(BaseTemplateTenantAssociation, version, 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: AsyncCourier) -> None:
response = await async_client.tenants.templates.versions.with_raw_response.retrieve(
@@ -111,7 +111,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
version = await response.parse()
assert_matches_type(BaseTemplateTenantAssociation, version, 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: AsyncCourier) -> None:
async with async_client.tenants.templates.versions.with_streaming_response.retrieve(
@@ -127,7 +127,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
diff --git a/tests/api_resources/tenants/test_templates.py b/tests/api_resources/tenants/test_templates.py
index 430b198..978445d 100644
--- a/tests/api_resources/tenants/test_templates.py
+++ b/tests/api_resources/tenants/test_templates.py
@@ -24,7 +24,7 @@
class TestTemplates:
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: Courier) -> None:
template = client.tenants.templates.retrieve(
@@ -33,7 +33,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(BaseTemplateTenantAssociation, template, 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: Courier) -> None:
response = client.tenants.templates.with_raw_response.retrieve(
@@ -46,7 +46,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
template = response.parse()
assert_matches_type(BaseTemplateTenantAssociation, template, 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: Courier) -> None:
with client.tenants.templates.with_streaming_response.retrieve(
@@ -61,7 +61,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -76,7 +76,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
tenant_id="tenant_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
template = client.tenants.templates.list(
@@ -84,7 +84,7 @@ def test_method_list(self, client: Courier) -> None:
)
assert_matches_type(TemplateListResponse, template, 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: Courier) -> None:
template = client.tenants.templates.list(
@@ -94,7 +94,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(TemplateListResponse, template, 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: Courier) -> None:
response = client.tenants.templates.with_raw_response.list(
@@ -106,7 +106,7 @@ def test_raw_response_list(self, client: Courier) -> None:
template = response.parse()
assert_matches_type(TemplateListResponse, template, 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: Courier) -> None:
with client.tenants.templates.with_streaming_response.list(
@@ -120,7 +120,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_path_params_list(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -128,7 +128,7 @@ def test_path_params_list(self, client: Courier) -> None:
tenant_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_publish(self, client: Courier) -> None:
template = client.tenants.templates.publish(
@@ -137,7 +137,7 @@ def test_method_publish(self, client: Courier) -> None:
)
assert_matches_type(PostTenantTemplatePublishResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_publish_with_all_params(self, client: Courier) -> None:
template = client.tenants.templates.publish(
@@ -147,7 +147,7 @@ def test_method_publish_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(PostTenantTemplatePublishResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_publish(self, client: Courier) -> None:
response = client.tenants.templates.with_raw_response.publish(
@@ -160,7 +160,7 @@ def test_raw_response_publish(self, client: Courier) -> None:
template = response.parse()
assert_matches_type(PostTenantTemplatePublishResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_publish(self, client: Courier) -> None:
with client.tenants.templates.with_streaming_response.publish(
@@ -175,7 +175,7 @@ def test_streaming_response_publish(self, client: Courier) -> 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_path_params_publish(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -190,7 +190,7 @@ def test_path_params_publish(self, client: Courier) -> None:
tenant_id="tenant_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_replace(self, client: Courier) -> None:
template = client.tenants.templates.replace(
@@ -205,7 +205,7 @@ def test_method_replace(self, client: Courier) -> None:
)
assert_matches_type(PutTenantTemplateResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_replace_with_all_params(self, client: Courier) -> None:
template = client.tenants.templates.replace(
@@ -271,7 +271,7 @@ def test_method_replace_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(PutTenantTemplateResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_replace(self, client: Courier) -> None:
response = client.tenants.templates.with_raw_response.replace(
@@ -290,7 +290,7 @@ def test_raw_response_replace(self, client: Courier) -> None:
template = response.parse()
assert_matches_type(PutTenantTemplateResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_replace(self, client: Courier) -> None:
with client.tenants.templates.with_streaming_response.replace(
@@ -311,7 +311,7 @@ def test_streaming_response_replace(self, client: Courier) -> 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_path_params_replace(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -344,7 +344,7 @@ class TestAsyncTemplates:
"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: AsyncCourier) -> None:
template = await async_client.tenants.templates.retrieve(
@@ -353,7 +353,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(BaseTemplateTenantAssociation, template, 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: AsyncCourier) -> None:
response = await async_client.tenants.templates.with_raw_response.retrieve(
@@ -366,7 +366,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
template = await response.parse()
assert_matches_type(BaseTemplateTenantAssociation, template, 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: AsyncCourier) -> None:
async with async_client.tenants.templates.with_streaming_response.retrieve(
@@ -381,7 +381,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -396,7 +396,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
tenant_id="tenant_id",
)
- @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: AsyncCourier) -> None:
template = await async_client.tenants.templates.list(
@@ -404,7 +404,7 @@ async def test_method_list(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(TemplateListResponse, template, 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: AsyncCourier) -> None:
template = await async_client.tenants.templates.list(
@@ -414,7 +414,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(TemplateListResponse, template, 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: AsyncCourier) -> None:
response = await async_client.tenants.templates.with_raw_response.list(
@@ -426,7 +426,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
template = await response.parse()
assert_matches_type(TemplateListResponse, template, 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: AsyncCourier) -> None:
async with async_client.tenants.templates.with_streaming_response.list(
@@ -440,7 +440,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_path_params_list(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -448,7 +448,7 @@ async def test_path_params_list(self, async_client: AsyncCourier) -> None:
tenant_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_publish(self, async_client: AsyncCourier) -> None:
template = await async_client.tenants.templates.publish(
@@ -457,7 +457,7 @@ async def test_method_publish(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(PostTenantTemplatePublishResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_publish_with_all_params(self, async_client: AsyncCourier) -> None:
template = await async_client.tenants.templates.publish(
@@ -467,7 +467,7 @@ async def test_method_publish_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(PostTenantTemplatePublishResponse, template, 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_publish(self, async_client: AsyncCourier) -> None:
response = await async_client.tenants.templates.with_raw_response.publish(
@@ -480,7 +480,7 @@ async def test_raw_response_publish(self, async_client: AsyncCourier) -> None:
template = await response.parse()
assert_matches_type(PostTenantTemplatePublishResponse, template, 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_publish(self, async_client: AsyncCourier) -> None:
async with async_client.tenants.templates.with_streaming_response.publish(
@@ -495,7 +495,7 @@ async def test_streaming_response_publish(self, async_client: AsyncCourier) -> 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_path_params_publish(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -510,7 +510,7 @@ async def test_path_params_publish(self, async_client: AsyncCourier) -> None:
tenant_id="tenant_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_replace(self, async_client: AsyncCourier) -> None:
template = await async_client.tenants.templates.replace(
@@ -525,7 +525,7 @@ async def test_method_replace(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(PutTenantTemplateResponse, template, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_replace_with_all_params(self, async_client: AsyncCourier) -> None:
template = await async_client.tenants.templates.replace(
@@ -591,7 +591,7 @@ async def test_method_replace_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(PutTenantTemplateResponse, template, 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_replace(self, async_client: AsyncCourier) -> None:
response = await async_client.tenants.templates.with_raw_response.replace(
@@ -610,7 +610,7 @@ async def test_raw_response_replace(self, async_client: AsyncCourier) -> None:
template = await response.parse()
assert_matches_type(PutTenantTemplateResponse, template, 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_replace(self, async_client: AsyncCourier) -> None:
async with async_client.tenants.templates.with_streaming_response.replace(
@@ -631,7 +631,7 @@ async def test_streaming_response_replace(self, async_client: AsyncCourier) -> 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_path_params_replace(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
diff --git a/tests/api_resources/test_audiences.py b/tests/api_resources/test_audiences.py
index 045b3ea..7630b23 100644
--- a/tests/api_resources/test_audiences.py
+++ b/tests/api_resources/test_audiences.py
@@ -22,7 +22,7 @@
class TestAudiences:
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: Courier) -> None:
audience = client.audiences.retrieve(
@@ -30,7 +30,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(Audience, audience, 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: Courier) -> None:
response = client.audiences.with_raw_response.retrieve(
@@ -42,7 +42,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
audience = response.parse()
assert_matches_type(Audience, audience, 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: Courier) -> None:
with client.audiences.with_streaming_response.retrieve(
@@ -56,7 +56,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -64,7 +64,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
audience = client.audiences.update(
@@ -72,7 +72,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert_matches_type(AudienceUpdateResponse, audience, 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: Courier) -> None:
audience = client.audiences.update(
@@ -93,7 +93,7 @@ def test_method_update_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AudienceUpdateResponse, audience, 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: Courier) -> None:
response = client.audiences.with_raw_response.update(
@@ -105,7 +105,7 @@ def test_raw_response_update(self, client: Courier) -> None:
audience = response.parse()
assert_matches_type(AudienceUpdateResponse, audience, 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: Courier) -> None:
with client.audiences.with_streaming_response.update(
@@ -119,7 +119,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -127,13 +127,13 @@ def test_path_params_update(self, client: Courier) -> None:
audience_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
audience = client.audiences.list()
assert_matches_type(AudienceListResponse, audience, 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: Courier) -> None:
audience = client.audiences.list(
@@ -141,7 +141,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AudienceListResponse, audience, 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: Courier) -> None:
response = client.audiences.with_raw_response.list()
@@ -151,7 +151,7 @@ def test_raw_response_list(self, client: Courier) -> None:
audience = response.parse()
assert_matches_type(AudienceListResponse, audience, 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: Courier) -> None:
with client.audiences.with_streaming_response.list() as response:
@@ -163,7 +163,7 @@ def test_streaming_response_list(self, client: Courier) -> 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: Courier) -> None:
audience = client.audiences.delete(
@@ -171,7 +171,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert audience is None
- @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: Courier) -> None:
response = client.audiences.with_raw_response.delete(
@@ -183,7 +183,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
audience = response.parse()
assert audience is None
- @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: Courier) -> None:
with client.audiences.with_streaming_response.delete(
@@ -197,7 +197,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -205,7 +205,7 @@ def test_path_params_delete(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list_members(self, client: Courier) -> None:
audience = client.audiences.list_members(
@@ -213,7 +213,7 @@ def test_method_list_members(self, client: Courier) -> None:
)
assert_matches_type(AudienceListMembersResponse, audience, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list_members_with_all_params(self, client: Courier) -> None:
audience = client.audiences.list_members(
@@ -222,7 +222,7 @@ def test_method_list_members_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AudienceListMembersResponse, audience, 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_members(self, client: Courier) -> None:
response = client.audiences.with_raw_response.list_members(
@@ -234,7 +234,7 @@ def test_raw_response_list_members(self, client: Courier) -> None:
audience = response.parse()
assert_matches_type(AudienceListMembersResponse, audience, 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_members(self, client: Courier) -> None:
with client.audiences.with_streaming_response.list_members(
@@ -248,7 +248,7 @@ def test_streaming_response_list_members(self, client: Courier) -> 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_path_params_list_members(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -262,7 +262,7 @@ class TestAsyncAudiences:
"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: AsyncCourier) -> None:
audience = await async_client.audiences.retrieve(
@@ -270,7 +270,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Audience, audience, 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: AsyncCourier) -> None:
response = await async_client.audiences.with_raw_response.retrieve(
@@ -282,7 +282,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
audience = await response.parse()
assert_matches_type(Audience, audience, 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: AsyncCourier) -> None:
async with async_client.audiences.with_streaming_response.retrieve(
@@ -296,7 +296,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -304,7 +304,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
audience = await async_client.audiences.update(
@@ -312,7 +312,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(AudienceUpdateResponse, audience, 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: AsyncCourier) -> None:
audience = await async_client.audiences.update(
@@ -333,7 +333,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCourier) -
)
assert_matches_type(AudienceUpdateResponse, audience, 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: AsyncCourier) -> None:
response = await async_client.audiences.with_raw_response.update(
@@ -345,7 +345,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
audience = await response.parse()
assert_matches_type(AudienceUpdateResponse, audience, 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: AsyncCourier) -> None:
async with async_client.audiences.with_streaming_response.update(
@@ -359,7 +359,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -367,13 +367,13 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
audience_id="",
)
- @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: AsyncCourier) -> None:
audience = await async_client.audiences.list()
assert_matches_type(AudienceListResponse, audience, 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: AsyncCourier) -> None:
audience = await async_client.audiences.list(
@@ -381,7 +381,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(AudienceListResponse, audience, 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: AsyncCourier) -> None:
response = await async_client.audiences.with_raw_response.list()
@@ -391,7 +391,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
audience = await response.parse()
assert_matches_type(AudienceListResponse, audience, 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: AsyncCourier) -> None:
async with async_client.audiences.with_streaming_response.list() as response:
@@ -403,7 +403,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_delete(self, async_client: AsyncCourier) -> None:
audience = await async_client.audiences.delete(
@@ -411,7 +411,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert audience is None
- @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: AsyncCourier) -> None:
response = await async_client.audiences.with_raw_response.delete(
@@ -423,7 +423,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
audience = await response.parse()
assert audience is None
- @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: AsyncCourier) -> None:
async with async_client.audiences.with_streaming_response.delete(
@@ -437,7 +437,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
@@ -445,7 +445,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_list_members(self, async_client: AsyncCourier) -> None:
audience = await async_client.audiences.list_members(
@@ -453,7 +453,7 @@ async def test_method_list_members(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(AudienceListMembersResponse, audience, 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_members_with_all_params(self, async_client: AsyncCourier) -> None:
audience = await async_client.audiences.list_members(
@@ -462,7 +462,7 @@ async def test_method_list_members_with_all_params(self, async_client: AsyncCour
)
assert_matches_type(AudienceListMembersResponse, audience, 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_members(self, async_client: AsyncCourier) -> None:
response = await async_client.audiences.with_raw_response.list_members(
@@ -474,7 +474,7 @@ async def test_raw_response_list_members(self, async_client: AsyncCourier) -> No
audience = await response.parse()
assert_matches_type(AudienceListMembersResponse, audience, 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_members(self, async_client: AsyncCourier) -> None:
async with async_client.audiences.with_streaming_response.list_members(
@@ -488,7 +488,7 @@ async def test_streaming_response_list_members(self, async_client: AsyncCourier)
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_path_params_list_members(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audience_id` but received ''"):
diff --git a/tests/api_resources/test_audit_events.py b/tests/api_resources/test_audit_events.py
index e29169f..5528746 100644
--- a/tests/api_resources/test_audit_events.py
+++ b/tests/api_resources/test_audit_events.py
@@ -17,7 +17,7 @@
class TestAuditEvents:
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: Courier) -> None:
audit_event = client.audit_events.retrieve(
@@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(AuditEvent, audit_event, 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: Courier) -> None:
response = client.audit_events.with_raw_response.retrieve(
@@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
audit_event = response.parse()
assert_matches_type(AuditEvent, audit_event, 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: Courier) -> None:
with client.audit_events.with_streaming_response.retrieve(
@@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audit_event_id` but received ''"):
@@ -59,13 +59,13 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
audit_event = client.audit_events.list()
assert_matches_type(AuditEventListResponse, audit_event, 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: Courier) -> None:
audit_event = client.audit_events.list(
@@ -73,7 +73,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AuditEventListResponse, audit_event, 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: Courier) -> None:
response = client.audit_events.with_raw_response.list()
@@ -83,7 +83,7 @@ def test_raw_response_list(self, client: Courier) -> None:
audit_event = response.parse()
assert_matches_type(AuditEventListResponse, audit_event, 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: Courier) -> None:
with client.audit_events.with_streaming_response.list() as response:
@@ -101,7 +101,7 @@ class TestAsyncAuditEvents:
"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: AsyncCourier) -> None:
audit_event = await async_client.audit_events.retrieve(
@@ -109,7 +109,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(AuditEvent, audit_event, 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: AsyncCourier) -> None:
response = await async_client.audit_events.with_raw_response.retrieve(
@@ -121,7 +121,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
audit_event = await response.parse()
assert_matches_type(AuditEvent, audit_event, 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: AsyncCourier) -> None:
async with async_client.audit_events.with_streaming_response.retrieve(
@@ -135,7 +135,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `audit_event_id` but received ''"):
@@ -143,13 +143,13 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
audit_event = await async_client.audit_events.list()
assert_matches_type(AuditEventListResponse, audit_event, 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: AsyncCourier) -> None:
audit_event = await async_client.audit_events.list(
@@ -157,7 +157,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(AuditEventListResponse, audit_event, 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: AsyncCourier) -> None:
response = await async_client.audit_events.with_raw_response.list()
@@ -167,7 +167,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
audit_event = await response.parse()
assert_matches_type(AuditEventListResponse, audit_event, 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: AsyncCourier) -> None:
async with async_client.audit_events.with_streaming_response.list() as response:
diff --git a/tests/api_resources/test_auth.py b/tests/api_resources/test_auth.py
index 396030e..ac27998 100644
--- a/tests/api_resources/test_auth.py
+++ b/tests/api_resources/test_auth.py
@@ -17,7 +17,7 @@
class TestAuth:
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_issue_token(self, client: Courier) -> None:
auth = client.auth.issue_token(
@@ -26,7 +26,7 @@ def test_method_issue_token(self, client: Courier) -> None:
)
assert_matches_type(AuthIssueTokenResponse, auth, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_issue_token(self, client: Courier) -> None:
response = client.auth.with_raw_response.issue_token(
@@ -39,7 +39,7 @@ def test_raw_response_issue_token(self, client: Courier) -> None:
auth = response.parse()
assert_matches_type(AuthIssueTokenResponse, auth, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_issue_token(self, client: Courier) -> None:
with client.auth.with_streaming_response.issue_token(
@@ -60,7 +60,7 @@ class TestAsyncAuth:
"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_issue_token(self, async_client: AsyncCourier) -> None:
auth = await async_client.auth.issue_token(
@@ -69,7 +69,7 @@ async def test_method_issue_token(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(AuthIssueTokenResponse, auth, 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_issue_token(self, async_client: AsyncCourier) -> None:
response = await async_client.auth.with_raw_response.issue_token(
@@ -82,7 +82,7 @@ async def test_raw_response_issue_token(self, async_client: AsyncCourier) -> Non
auth = await response.parse()
assert_matches_type(AuthIssueTokenResponse, auth, 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_issue_token(self, async_client: AsyncCourier) -> None:
async with async_client.auth.with_streaming_response.issue_token(
diff --git a/tests/api_resources/test_automations.py b/tests/api_resources/test_automations.py
index 75091da..7f1b958 100644
--- a/tests/api_resources/test_automations.py
+++ b/tests/api_resources/test_automations.py
@@ -17,13 +17,13 @@
class TestAutomations:
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: Courier) -> None:
automation = client.automations.list()
assert_matches_type(AutomationTemplateListResponse, automation, 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: Courier) -> None:
automation = client.automations.list(
@@ -32,7 +32,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(AutomationTemplateListResponse, automation, 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: Courier) -> None:
response = client.automations.with_raw_response.list()
@@ -42,7 +42,7 @@ def test_raw_response_list(self, client: Courier) -> None:
automation = response.parse()
assert_matches_type(AutomationTemplateListResponse, automation, 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: Courier) -> None:
with client.automations.with_streaming_response.list() as response:
@@ -60,13 +60,13 @@ class TestAsyncAutomations:
"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: AsyncCourier) -> None:
automation = await async_client.automations.list()
assert_matches_type(AutomationTemplateListResponse, automation, 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: AsyncCourier) -> None:
automation = await async_client.automations.list(
@@ -75,7 +75,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(AutomationTemplateListResponse, automation, 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: AsyncCourier) -> None:
response = await async_client.automations.with_raw_response.list()
@@ -85,7 +85,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
automation = await response.parse()
assert_matches_type(AutomationTemplateListResponse, automation, 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: AsyncCourier) -> None:
async with async_client.automations.with_streaming_response.list() as response:
diff --git a/tests/api_resources/test_brands.py b/tests/api_resources/test_brands.py
index dee307f..e41f90e 100644
--- a/tests/api_resources/test_brands.py
+++ b/tests/api_resources/test_brands.py
@@ -20,7 +20,7 @@
class TestBrands:
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: Courier) -> None:
brand = client.brands.create(
@@ -28,7 +28,7 @@ def test_method_create(self, client: Courier) -> None:
)
assert_matches_type(Brand, brand, 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: Courier) -> None:
brand = client.brands.create(
@@ -107,7 +107,7 @@ def test_method_create_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(Brand, brand, 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: Courier) -> None:
response = client.brands.with_raw_response.create(
@@ -119,7 +119,7 @@ def test_raw_response_create(self, client: Courier) -> None:
brand = response.parse()
assert_matches_type(Brand, brand, 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: Courier) -> None:
with client.brands.with_streaming_response.create(
@@ -133,7 +133,7 @@ def test_streaming_response_create(self, client: Courier) -> 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_retrieve(self, client: Courier) -> None:
brand = client.brands.retrieve(
@@ -141,7 +141,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(Brand, brand, 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: Courier) -> None:
response = client.brands.with_raw_response.retrieve(
@@ -153,7 +153,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
brand = response.parse()
assert_matches_type(Brand, brand, 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: Courier) -> None:
with client.brands.with_streaming_response.retrieve(
@@ -167,7 +167,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
@@ -175,7 +175,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
brand = client.brands.update(
@@ -184,7 +184,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert_matches_type(Brand, brand, 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: Courier) -> None:
brand = client.brands.update(
@@ -263,7 +263,7 @@ def test_method_update_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(Brand, brand, 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: Courier) -> None:
response = client.brands.with_raw_response.update(
@@ -276,7 +276,7 @@ def test_raw_response_update(self, client: Courier) -> None:
brand = response.parse()
assert_matches_type(Brand, brand, 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: Courier) -> None:
with client.brands.with_streaming_response.update(
@@ -291,7 +291,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
@@ -300,13 +300,13 @@ def test_path_params_update(self, client: Courier) -> None:
name="name",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
brand = client.brands.list()
assert_matches_type(BrandListResponse, brand, 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: Courier) -> None:
brand = client.brands.list(
@@ -314,7 +314,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(BrandListResponse, brand, 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: Courier) -> None:
response = client.brands.with_raw_response.list()
@@ -324,7 +324,7 @@ def test_raw_response_list(self, client: Courier) -> None:
brand = response.parse()
assert_matches_type(BrandListResponse, brand, 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: Courier) -> None:
with client.brands.with_streaming_response.list() as response:
@@ -336,7 +336,7 @@ def test_streaming_response_list(self, client: Courier) -> 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: Courier) -> None:
brand = client.brands.delete(
@@ -344,7 +344,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert brand is None
- @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: Courier) -> None:
response = client.brands.with_raw_response.delete(
@@ -356,7 +356,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
brand = response.parse()
assert brand is None
- @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: Courier) -> None:
with client.brands.with_streaming_response.delete(
@@ -370,7 +370,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
@@ -384,7 +384,7 @@ class TestAsyncBrands:
"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: AsyncCourier) -> None:
brand = await async_client.brands.create(
@@ -392,7 +392,7 @@ async def test_method_create(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
brand = await async_client.brands.create(
@@ -471,7 +471,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCourier) -
)
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
response = await async_client.brands.with_raw_response.create(
@@ -483,7 +483,7 @@ async def test_raw_response_create(self, async_client: AsyncCourier) -> None:
brand = await response.parse()
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
async with async_client.brands.with_streaming_response.create(
@@ -497,7 +497,7 @@ async def test_streaming_response_create(self, async_client: AsyncCourier) -> No
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_retrieve(self, async_client: AsyncCourier) -> None:
brand = await async_client.brands.retrieve(
@@ -505,7 +505,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
response = await async_client.brands.with_raw_response.retrieve(
@@ -517,7 +517,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
brand = await response.parse()
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
async with async_client.brands.with_streaming_response.retrieve(
@@ -531,7 +531,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
@@ -539,7 +539,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
brand = await async_client.brands.update(
@@ -548,7 +548,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
brand = await async_client.brands.update(
@@ -627,7 +627,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCourier) -
)
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
response = await async_client.brands.with_raw_response.update(
@@ -640,7 +640,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
brand = await response.parse()
assert_matches_type(Brand, brand, 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: AsyncCourier) -> None:
async with async_client.brands.with_streaming_response.update(
@@ -655,7 +655,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
@@ -664,13 +664,13 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
name="name",
)
- @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: AsyncCourier) -> None:
brand = await async_client.brands.list()
assert_matches_type(BrandListResponse, brand, 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: AsyncCourier) -> None:
brand = await async_client.brands.list(
@@ -678,7 +678,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(BrandListResponse, brand, 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: AsyncCourier) -> None:
response = await async_client.brands.with_raw_response.list()
@@ -688,7 +688,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
brand = await response.parse()
assert_matches_type(BrandListResponse, brand, 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: AsyncCourier) -> None:
async with async_client.brands.with_streaming_response.list() as response:
@@ -700,7 +700,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_delete(self, async_client: AsyncCourier) -> None:
brand = await async_client.brands.delete(
@@ -708,7 +708,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert brand is None
- @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: AsyncCourier) -> None:
response = await async_client.brands.with_raw_response.delete(
@@ -720,7 +720,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
brand = await response.parse()
assert brand is None
- @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: AsyncCourier) -> None:
async with async_client.brands.with_streaming_response.delete(
@@ -734,7 +734,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"):
diff --git a/tests/api_resources/test_bulk.py b/tests/api_resources/test_bulk.py
index 433316d..177cddb 100644
--- a/tests/api_resources/test_bulk.py
+++ b/tests/api_resources/test_bulk.py
@@ -21,7 +21,7 @@
class TestBulk:
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_add_users(self, client: Courier) -> None:
bulk = client.bulk.add_users(
@@ -30,7 +30,7 @@ def test_method_add_users(self, client: Courier) -> None:
)
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add_users(self, client: Courier) -> None:
response = client.bulk.with_raw_response.add_users(
@@ -43,7 +43,7 @@ def test_raw_response_add_users(self, client: Courier) -> None:
bulk = response.parse()
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add_users(self, client: Courier) -> None:
with client.bulk.with_streaming_response.add_users(
@@ -58,7 +58,7 @@ def test_streaming_response_add_users(self, client: Courier) -> 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_path_params_add_users(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -67,7 +67,7 @@ def test_path_params_add_users(self, client: Courier) -> None:
users=[{}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_create_job(self, client: Courier) -> None:
bulk = client.bulk.create_job(
@@ -75,7 +75,7 @@ def test_method_create_job(self, client: Courier) -> None:
)
assert_matches_type(BulkCreateJobResponse, bulk, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_create_job_with_all_params(self, client: Courier) -> None:
bulk = client.bulk.create_job(
@@ -94,7 +94,7 @@ def test_method_create_job_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(BulkCreateJobResponse, 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_create_job(self, client: Courier) -> None:
response = client.bulk.with_raw_response.create_job(
@@ -106,7 +106,7 @@ def test_raw_response_create_job(self, client: Courier) -> None:
bulk = response.parse()
assert_matches_type(BulkCreateJobResponse, 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_create_job(self, client: Courier) -> None:
with client.bulk.with_streaming_response.create_job(
@@ -120,7 +120,7 @@ def test_streaming_response_create_job(self, client: Courier) -> 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_list_users(self, client: Courier) -> None:
bulk = client.bulk.list_users(
@@ -128,7 +128,7 @@ def test_method_list_users(self, client: Courier) -> None:
)
assert_matches_type(BulkListUsersResponse, bulk, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list_users_with_all_params(self, client: Courier) -> None:
bulk = client.bulk.list_users(
@@ -137,7 +137,7 @@ def test_method_list_users_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(BulkListUsersResponse, 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_list_users(self, client: Courier) -> None:
response = client.bulk.with_raw_response.list_users(
@@ -149,7 +149,7 @@ def test_raw_response_list_users(self, client: Courier) -> None:
bulk = response.parse()
assert_matches_type(BulkListUsersResponse, 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_list_users(self, client: Courier) -> None:
with client.bulk.with_streaming_response.list_users(
@@ -163,7 +163,7 @@ def test_streaming_response_list_users(self, client: Courier) -> 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_path_params_list_users(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -171,7 +171,7 @@ def test_path_params_list_users(self, client: Courier) -> None:
job_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_retrieve_job(self, client: Courier) -> None:
bulk = client.bulk.retrieve_job(
@@ -179,7 +179,7 @@ def test_method_retrieve_job(self, client: Courier) -> None:
)
assert_matches_type(BulkRetrieveJobResponse, 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_retrieve_job(self, client: Courier) -> None:
response = client.bulk.with_raw_response.retrieve_job(
@@ -191,7 +191,7 @@ def test_raw_response_retrieve_job(self, client: Courier) -> None:
bulk = response.parse()
assert_matches_type(BulkRetrieveJobResponse, 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_retrieve_job(self, client: Courier) -> None:
with client.bulk.with_streaming_response.retrieve_job(
@@ -205,7 +205,7 @@ def test_streaming_response_retrieve_job(self, client: Courier) -> 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_path_params_retrieve_job(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -213,7 +213,7 @@ def test_path_params_retrieve_job(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_run_job(self, client: Courier) -> None:
bulk = client.bulk.run_job(
@@ -221,7 +221,7 @@ def test_method_run_job(self, client: Courier) -> None:
)
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_run_job(self, client: Courier) -> None:
response = client.bulk.with_raw_response.run_job(
@@ -233,7 +233,7 @@ def test_raw_response_run_job(self, client: Courier) -> None:
bulk = response.parse()
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_run_job(self, client: Courier) -> None:
with client.bulk.with_streaming_response.run_job(
@@ -247,7 +247,7 @@ def test_streaming_response_run_job(self, client: Courier) -> 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_path_params_run_job(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -261,7 +261,7 @@ class TestAsyncBulk:
"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_add_users(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.add_users(
@@ -270,7 +270,7 @@ async def test_method_add_users(self, async_client: AsyncCourier) -> None:
)
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add_users(self, async_client: AsyncCourier) -> None:
response = await async_client.bulk.with_raw_response.add_users(
@@ -283,7 +283,7 @@ async def test_raw_response_add_users(self, async_client: AsyncCourier) -> None:
bulk = await response.parse()
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add_users(self, async_client: AsyncCourier) -> None:
async with async_client.bulk.with_streaming_response.add_users(
@@ -298,7 +298,7 @@ async def test_streaming_response_add_users(self, async_client: AsyncCourier) ->
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_path_params_add_users(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -307,7 +307,7 @@ async def test_path_params_add_users(self, async_client: AsyncCourier) -> None:
users=[{}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_create_job(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.create_job(
@@ -315,7 +315,7 @@ async def test_method_create_job(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(BulkCreateJobResponse, 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_create_job_with_all_params(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.create_job(
@@ -334,7 +334,7 @@ async def test_method_create_job_with_all_params(self, async_client: AsyncCourie
)
assert_matches_type(BulkCreateJobResponse, 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_create_job(self, async_client: AsyncCourier) -> None:
response = await async_client.bulk.with_raw_response.create_job(
@@ -346,7 +346,7 @@ async def test_raw_response_create_job(self, async_client: AsyncCourier) -> None
bulk = await response.parse()
assert_matches_type(BulkCreateJobResponse, 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_create_job(self, async_client: AsyncCourier) -> None:
async with async_client.bulk.with_streaming_response.create_job(
@@ -360,7 +360,7 @@ async def test_streaming_response_create_job(self, async_client: AsyncCourier) -
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_list_users(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.list_users(
@@ -368,7 +368,7 @@ async def test_method_list_users(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(BulkListUsersResponse, 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_list_users_with_all_params(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.list_users(
@@ -377,7 +377,7 @@ async def test_method_list_users_with_all_params(self, async_client: AsyncCourie
)
assert_matches_type(BulkListUsersResponse, 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_list_users(self, async_client: AsyncCourier) -> None:
response = await async_client.bulk.with_raw_response.list_users(
@@ -389,7 +389,7 @@ async def test_raw_response_list_users(self, async_client: AsyncCourier) -> None
bulk = await response.parse()
assert_matches_type(BulkListUsersResponse, 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_list_users(self, async_client: AsyncCourier) -> None:
async with async_client.bulk.with_streaming_response.list_users(
@@ -403,7 +403,7 @@ async def test_streaming_response_list_users(self, async_client: AsyncCourier) -
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_path_params_list_users(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -411,7 +411,7 @@ async def test_path_params_list_users(self, async_client: AsyncCourier) -> None:
job_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_retrieve_job(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.retrieve_job(
@@ -419,7 +419,7 @@ async def test_method_retrieve_job(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(BulkRetrieveJobResponse, 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_retrieve_job(self, async_client: AsyncCourier) -> None:
response = await async_client.bulk.with_raw_response.retrieve_job(
@@ -431,7 +431,7 @@ async def test_raw_response_retrieve_job(self, async_client: AsyncCourier) -> No
bulk = await response.parse()
assert_matches_type(BulkRetrieveJobResponse, 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_retrieve_job(self, async_client: AsyncCourier) -> None:
async with async_client.bulk.with_streaming_response.retrieve_job(
@@ -445,7 +445,7 @@ async def test_streaming_response_retrieve_job(self, async_client: AsyncCourier)
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_path_params_retrieve_job(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
@@ -453,7 +453,7 @@ async def test_path_params_retrieve_job(self, async_client: AsyncCourier) -> Non
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_run_job(self, async_client: AsyncCourier) -> None:
bulk = await async_client.bulk.run_job(
@@ -461,7 +461,7 @@ async def test_method_run_job(self, async_client: AsyncCourier) -> None:
)
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_run_job(self, async_client: AsyncCourier) -> None:
response = await async_client.bulk.with_raw_response.run_job(
@@ -473,7 +473,7 @@ async def test_raw_response_run_job(self, async_client: AsyncCourier) -> None:
bulk = await response.parse()
assert bulk is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_run_job(self, async_client: AsyncCourier) -> None:
async with async_client.bulk.with_streaming_response.run_job(
@@ -487,7 +487,7 @@ async def test_streaming_response_run_job(self, async_client: AsyncCourier) -> 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_path_params_run_job(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"):
diff --git a/tests/api_resources/test_inbound.py b/tests/api_resources/test_inbound.py
index cb2c326..d18caeb 100644
--- a/tests/api_resources/test_inbound.py
+++ b/tests/api_resources/test_inbound.py
@@ -17,7 +17,7 @@
class TestInbound:
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_track_event(self, client: Courier) -> None:
inbound = client.inbound.track_event(
@@ -32,7 +32,7 @@ def test_method_track_event(self, client: Courier) -> None:
)
assert_matches_type(InboundTrackEventResponse, inbound, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_track_event_with_all_params(self, client: Courier) -> None:
inbound = client.inbound.track_event(
@@ -48,7 +48,7 @@ def test_method_track_event_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(InboundTrackEventResponse, inbound, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_track_event(self, client: Courier) -> None:
response = client.inbound.with_raw_response.track_event(
@@ -67,7 +67,7 @@ def test_raw_response_track_event(self, client: Courier) -> None:
inbound = response.parse()
assert_matches_type(InboundTrackEventResponse, inbound, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_track_event(self, client: Courier) -> None:
with client.inbound.with_streaming_response.track_event(
@@ -94,7 +94,7 @@ class TestAsyncInbound:
"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_track_event(self, async_client: AsyncCourier) -> None:
inbound = await async_client.inbound.track_event(
@@ -109,7 +109,7 @@ async def test_method_track_event(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(InboundTrackEventResponse, inbound, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_track_event_with_all_params(self, async_client: AsyncCourier) -> None:
inbound = await async_client.inbound.track_event(
@@ -125,7 +125,7 @@ async def test_method_track_event_with_all_params(self, async_client: AsyncCouri
)
assert_matches_type(InboundTrackEventResponse, inbound, 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_track_event(self, async_client: AsyncCourier) -> None:
response = await async_client.inbound.with_raw_response.track_event(
@@ -144,7 +144,7 @@ async def test_raw_response_track_event(self, async_client: AsyncCourier) -> Non
inbound = await response.parse()
assert_matches_type(InboundTrackEventResponse, inbound, 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_track_event(self, async_client: AsyncCourier) -> None:
async with async_client.inbound.with_streaming_response.track_event(
diff --git a/tests/api_resources/test_lists.py b/tests/api_resources/test_lists.py
index be080f4..3cdd657 100644
--- a/tests/api_resources/test_lists.py
+++ b/tests/api_resources/test_lists.py
@@ -17,7 +17,7 @@
class TestLists:
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: Courier) -> None:
list_ = client.lists.retrieve(
@@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(SubscriptionList, list_, 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: Courier) -> None:
response = client.lists.with_raw_response.retrieve(
@@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
list_ = response.parse()
assert_matches_type(SubscriptionList, list_, 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: Courier) -> None:
with client.lists.with_streaming_response.retrieve(
@@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -59,7 +59,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
list_ = client.lists.update(
@@ -68,7 +68,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert list_ is None
- @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: Courier) -> None:
list_ = client.lists.update(
@@ -103,7 +103,7 @@ def test_method_update_with_all_params(self, client: Courier) -> None:
)
assert list_ is None
- @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: Courier) -> None:
response = client.lists.with_raw_response.update(
@@ -116,7 +116,7 @@ def test_raw_response_update(self, client: Courier) -> None:
list_ = response.parse()
assert list_ is None
- @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: Courier) -> None:
with client.lists.with_streaming_response.update(
@@ -131,7 +131,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -140,13 +140,13 @@ def test_path_params_update(self, client: Courier) -> None:
name="name",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
list_ = client.lists.list()
assert_matches_type(ListListResponse, list_, 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: Courier) -> None:
list_ = client.lists.list(
@@ -155,7 +155,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(ListListResponse, list_, 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: Courier) -> None:
response = client.lists.with_raw_response.list()
@@ -165,7 +165,7 @@ def test_raw_response_list(self, client: Courier) -> None:
list_ = response.parse()
assert_matches_type(ListListResponse, list_, 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: Courier) -> None:
with client.lists.with_streaming_response.list() as response:
@@ -177,7 +177,7 @@ def test_streaming_response_list(self, client: Courier) -> 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: Courier) -> None:
list_ = client.lists.delete(
@@ -185,7 +185,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert list_ is None
- @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: Courier) -> None:
response = client.lists.with_raw_response.delete(
@@ -197,7 +197,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
list_ = response.parse()
assert list_ is None
- @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: Courier) -> None:
with client.lists.with_streaming_response.delete(
@@ -211,7 +211,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -219,7 +219,7 @@ def test_path_params_delete(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_restore(self, client: Courier) -> None:
list_ = client.lists.restore(
@@ -227,7 +227,7 @@ def test_method_restore(self, client: Courier) -> None:
)
assert list_ is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_restore(self, client: Courier) -> None:
response = client.lists.with_raw_response.restore(
@@ -239,7 +239,7 @@ def test_raw_response_restore(self, client: Courier) -> None:
list_ = response.parse()
assert list_ is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_restore(self, client: Courier) -> None:
with client.lists.with_streaming_response.restore(
@@ -253,7 +253,7 @@ def test_streaming_response_restore(self, client: Courier) -> 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_path_params_restore(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -267,7 +267,7 @@ class TestAsyncLists:
"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: AsyncCourier) -> None:
list_ = await async_client.lists.retrieve(
@@ -275,7 +275,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(SubscriptionList, list_, 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: AsyncCourier) -> None:
response = await async_client.lists.with_raw_response.retrieve(
@@ -287,7 +287,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert_matches_type(SubscriptionList, list_, 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: AsyncCourier) -> None:
async with async_client.lists.with_streaming_response.retrieve(
@@ -301,7 +301,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -309,7 +309,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
list_ = await async_client.lists.update(
@@ -318,7 +318,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert list_ is None
- @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: AsyncCourier) -> None:
list_ = await async_client.lists.update(
@@ -353,7 +353,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCourier) -
)
assert list_ is None
- @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: AsyncCourier) -> None:
response = await async_client.lists.with_raw_response.update(
@@ -366,7 +366,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert list_ is None
- @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: AsyncCourier) -> None:
async with async_client.lists.with_streaming_response.update(
@@ -381,7 +381,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -390,13 +390,13 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
name="name",
)
- @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: AsyncCourier) -> None:
list_ = await async_client.lists.list()
assert_matches_type(ListListResponse, list_, 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: AsyncCourier) -> None:
list_ = await async_client.lists.list(
@@ -405,7 +405,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(ListListResponse, list_, 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: AsyncCourier) -> None:
response = await async_client.lists.with_raw_response.list()
@@ -415,7 +415,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert_matches_type(ListListResponse, list_, 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: AsyncCourier) -> None:
async with async_client.lists.with_streaming_response.list() as response:
@@ -427,7 +427,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_delete(self, async_client: AsyncCourier) -> None:
list_ = await async_client.lists.delete(
@@ -435,7 +435,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert list_ is None
- @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: AsyncCourier) -> None:
response = await async_client.lists.with_raw_response.delete(
@@ -447,7 +447,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert list_ is None
- @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: AsyncCourier) -> None:
async with async_client.lists.with_streaming_response.delete(
@@ -461,7 +461,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
@@ -469,7 +469,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_restore(self, async_client: AsyncCourier) -> None:
list_ = await async_client.lists.restore(
@@ -477,7 +477,7 @@ async def test_method_restore(self, async_client: AsyncCourier) -> None:
)
assert list_ is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_restore(self, async_client: AsyncCourier) -> None:
response = await async_client.lists.with_raw_response.restore(
@@ -489,7 +489,7 @@ async def test_raw_response_restore(self, async_client: AsyncCourier) -> None:
list_ = await response.parse()
assert list_ is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_restore(self, async_client: AsyncCourier) -> None:
async with async_client.lists.with_streaming_response.restore(
@@ -503,7 +503,7 @@ async def test_streaming_response_restore(self, async_client: AsyncCourier) -> 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_path_params_restore(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
diff --git a/tests/api_resources/test_messages.py b/tests/api_resources/test_messages.py
index 486fff9..3f39e7c 100644
--- a/tests/api_resources/test_messages.py
+++ b/tests/api_resources/test_messages.py
@@ -23,7 +23,7 @@
class TestMessages:
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: Courier) -> None:
message = client.messages.retrieve(
@@ -31,7 +31,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(MessageRetrieveResponse, message, 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: Courier) -> None:
response = client.messages.with_raw_response.retrieve(
@@ -43,7 +43,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
message = response.parse()
assert_matches_type(MessageRetrieveResponse, message, 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: Courier) -> None:
with client.messages.with_streaming_response.retrieve(
@@ -57,7 +57,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -65,13 +65,13 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
message = client.messages.list()
assert_matches_type(MessageListResponse, message, 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: Courier) -> None:
message = client.messages.list(
@@ -92,7 +92,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(MessageListResponse, message, 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: Courier) -> None:
response = client.messages.with_raw_response.list()
@@ -102,7 +102,7 @@ def test_raw_response_list(self, client: Courier) -> None:
message = response.parse()
assert_matches_type(MessageListResponse, message, 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: Courier) -> None:
with client.messages.with_streaming_response.list() as response:
@@ -114,7 +114,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_cancel(self, client: Courier) -> None:
message = client.messages.cancel(
@@ -122,7 +122,7 @@ def test_method_cancel(self, client: Courier) -> None:
)
assert_matches_type(MessageDetails, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_cancel(self, client: Courier) -> None:
response = client.messages.with_raw_response.cancel(
@@ -134,7 +134,7 @@ def test_raw_response_cancel(self, client: Courier) -> None:
message = response.parse()
assert_matches_type(MessageDetails, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_cancel(self, client: Courier) -> None:
with client.messages.with_streaming_response.cancel(
@@ -148,7 +148,7 @@ def test_streaming_response_cancel(self, client: Courier) -> 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_path_params_cancel(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -156,7 +156,7 @@ def test_path_params_cancel(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_content(self, client: Courier) -> None:
message = client.messages.content(
@@ -164,7 +164,7 @@ def test_method_content(self, client: Courier) -> None:
)
assert_matches_type(MessageContentResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_content(self, client: Courier) -> None:
response = client.messages.with_raw_response.content(
@@ -176,7 +176,7 @@ def test_raw_response_content(self, client: Courier) -> None:
message = response.parse()
assert_matches_type(MessageContentResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_content(self, client: Courier) -> None:
with client.messages.with_streaming_response.content(
@@ -190,7 +190,7 @@ def test_streaming_response_content(self, client: Courier) -> 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_path_params_content(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -198,7 +198,7 @@ def test_path_params_content(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_history(self, client: Courier) -> None:
message = client.messages.history(
@@ -206,7 +206,7 @@ def test_method_history(self, client: Courier) -> None:
)
assert_matches_type(MessageHistoryResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_history_with_all_params(self, client: Courier) -> None:
message = client.messages.history(
@@ -215,7 +215,7 @@ def test_method_history_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(MessageHistoryResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_history(self, client: Courier) -> None:
response = client.messages.with_raw_response.history(
@@ -227,7 +227,7 @@ def test_raw_response_history(self, client: Courier) -> None:
message = response.parse()
assert_matches_type(MessageHistoryResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_history(self, client: Courier) -> None:
with client.messages.with_streaming_response.history(
@@ -241,7 +241,7 @@ def test_streaming_response_history(self, client: Courier) -> 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_path_params_history(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -255,7 +255,7 @@ class TestAsyncMessages:
"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: AsyncCourier) -> None:
message = await async_client.messages.retrieve(
@@ -263,7 +263,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(MessageRetrieveResponse, message, 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: AsyncCourier) -> None:
response = await async_client.messages.with_raw_response.retrieve(
@@ -275,7 +275,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
message = await response.parse()
assert_matches_type(MessageRetrieveResponse, message, 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: AsyncCourier) -> None:
async with async_client.messages.with_streaming_response.retrieve(
@@ -289,7 +289,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -297,13 +297,13 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
message = await async_client.messages.list()
assert_matches_type(MessageListResponse, message, 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: AsyncCourier) -> None:
message = await async_client.messages.list(
@@ -324,7 +324,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(MessageListResponse, message, 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: AsyncCourier) -> None:
response = await async_client.messages.with_raw_response.list()
@@ -334,7 +334,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
message = await response.parse()
assert_matches_type(MessageListResponse, message, 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: AsyncCourier) -> None:
async with async_client.messages.with_streaming_response.list() as response:
@@ -346,7 +346,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_cancel(self, async_client: AsyncCourier) -> None:
message = await async_client.messages.cancel(
@@ -354,7 +354,7 @@ async def test_method_cancel(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(MessageDetails, message, 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_cancel(self, async_client: AsyncCourier) -> None:
response = await async_client.messages.with_raw_response.cancel(
@@ -366,7 +366,7 @@ async def test_raw_response_cancel(self, async_client: AsyncCourier) -> None:
message = await response.parse()
assert_matches_type(MessageDetails, message, 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_cancel(self, async_client: AsyncCourier) -> None:
async with async_client.messages.with_streaming_response.cancel(
@@ -380,7 +380,7 @@ async def test_streaming_response_cancel(self, async_client: AsyncCourier) -> No
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_path_params_cancel(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -388,7 +388,7 @@ async def test_path_params_cancel(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_content(self, async_client: AsyncCourier) -> None:
message = await async_client.messages.content(
@@ -396,7 +396,7 @@ async def test_method_content(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(MessageContentResponse, message, 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_content(self, async_client: AsyncCourier) -> None:
response = await async_client.messages.with_raw_response.content(
@@ -408,7 +408,7 @@ async def test_raw_response_content(self, async_client: AsyncCourier) -> None:
message = await response.parse()
assert_matches_type(MessageContentResponse, message, 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_content(self, async_client: AsyncCourier) -> None:
async with async_client.messages.with_streaming_response.content(
@@ -422,7 +422,7 @@ async def test_streaming_response_content(self, async_client: AsyncCourier) -> 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_path_params_content(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
@@ -430,7 +430,7 @@ async def test_path_params_content(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_history(self, async_client: AsyncCourier) -> None:
message = await async_client.messages.history(
@@ -438,7 +438,7 @@ async def test_method_history(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(MessageHistoryResponse, message, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_history_with_all_params(self, async_client: AsyncCourier) -> None:
message = await async_client.messages.history(
@@ -447,7 +447,7 @@ async def test_method_history_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(MessageHistoryResponse, message, 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_history(self, async_client: AsyncCourier) -> None:
response = await async_client.messages.with_raw_response.history(
@@ -459,7 +459,7 @@ async def test_raw_response_history(self, async_client: AsyncCourier) -> None:
message = await response.parse()
assert_matches_type(MessageHistoryResponse, message, 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_history(self, async_client: AsyncCourier) -> None:
async with async_client.messages.with_streaming_response.history(
@@ -473,7 +473,7 @@ async def test_streaming_response_history(self, async_client: AsyncCourier) -> 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_path_params_history(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `message_id` but received ''"):
diff --git a/tests/api_resources/test_notifications.py b/tests/api_resources/test_notifications.py
index fa214b3..9e16a9f 100644
--- a/tests/api_resources/test_notifications.py
+++ b/tests/api_resources/test_notifications.py
@@ -17,13 +17,13 @@
class TestNotifications:
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: Courier) -> None:
notification = client.notifications.list()
assert_matches_type(NotificationListResponse, notification, 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: Courier) -> None:
notification = client.notifications.list(
@@ -32,7 +32,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(NotificationListResponse, notification, 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: Courier) -> None:
response = client.notifications.with_raw_response.list()
@@ -42,7 +42,7 @@ def test_raw_response_list(self, client: Courier) -> None:
notification = response.parse()
assert_matches_type(NotificationListResponse, notification, 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: Courier) -> None:
with client.notifications.with_streaming_response.list() as response:
@@ -54,7 +54,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_retrieve_content(self, client: Courier) -> None:
notification = client.notifications.retrieve_content(
@@ -62,7 +62,7 @@ def test_method_retrieve_content(self, client: Courier) -> None:
)
assert_matches_type(NotificationGetContent, notification, 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_content(self, client: Courier) -> None:
response = client.notifications.with_raw_response.retrieve_content(
@@ -74,7 +74,7 @@ def test_raw_response_retrieve_content(self, client: Courier) -> None:
notification = response.parse()
assert_matches_type(NotificationGetContent, notification, 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_content(self, client: Courier) -> None:
with client.notifications.with_streaming_response.retrieve_content(
@@ -88,7 +88,7 @@ def test_streaming_response_retrieve_content(self, client: Courier) -> 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_path_params_retrieve_content(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -102,13 +102,13 @@ class TestAsyncNotifications:
"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: AsyncCourier) -> None:
notification = await async_client.notifications.list()
assert_matches_type(NotificationListResponse, notification, 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: AsyncCourier) -> None:
notification = await async_client.notifications.list(
@@ -117,7 +117,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(NotificationListResponse, notification, 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: AsyncCourier) -> None:
response = await async_client.notifications.with_raw_response.list()
@@ -127,7 +127,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
notification = await response.parse()
assert_matches_type(NotificationListResponse, notification, 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: AsyncCourier) -> None:
async with async_client.notifications.with_streaming_response.list() as response:
@@ -139,7 +139,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_retrieve_content(self, async_client: AsyncCourier) -> None:
notification = await async_client.notifications.retrieve_content(
@@ -147,7 +147,7 @@ async def test_method_retrieve_content(self, async_client: AsyncCourier) -> None
)
assert_matches_type(NotificationGetContent, notification, 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_content(self, async_client: AsyncCourier) -> None:
response = await async_client.notifications.with_raw_response.retrieve_content(
@@ -159,7 +159,7 @@ async def test_raw_response_retrieve_content(self, async_client: AsyncCourier) -
notification = await response.parse()
assert_matches_type(NotificationGetContent, notification, 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_content(self, async_client: AsyncCourier) -> None:
async with async_client.notifications.with_streaming_response.retrieve_content(
@@ -173,7 +173,7 @@ async def test_streaming_response_retrieve_content(self, async_client: AsyncCour
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_path_params_retrieve_content(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
diff --git a/tests/api_resources/test_profiles.py b/tests/api_resources/test_profiles.py
index 59b2c5f..a385958 100644
--- a/tests/api_resources/test_profiles.py
+++ b/tests/api_resources/test_profiles.py
@@ -21,7 +21,7 @@
class TestProfiles:
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: Courier) -> None:
profile = client.profiles.create(
@@ -30,7 +30,7 @@ def test_method_create(self, client: Courier) -> None:
)
assert_matches_type(ProfileCreateResponse, profile, 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: Courier) -> None:
response = client.profiles.with_raw_response.create(
@@ -43,7 +43,7 @@ def test_raw_response_create(self, client: Courier) -> None:
profile = response.parse()
assert_matches_type(ProfileCreateResponse, profile, 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: Courier) -> None:
with client.profiles.with_streaming_response.create(
@@ -58,7 +58,7 @@ def test_streaming_response_create(self, client: Courier) -> 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_path_params_create(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -67,7 +67,7 @@ def test_path_params_create(self, client: Courier) -> None:
profile={"foo": "bar"},
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_retrieve(self, client: Courier) -> None:
profile = client.profiles.retrieve(
@@ -75,7 +75,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(ProfileRetrieveResponse, profile, 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: Courier) -> None:
response = client.profiles.with_raw_response.retrieve(
@@ -87,7 +87,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
profile = response.parse()
assert_matches_type(ProfileRetrieveResponse, profile, 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: Courier) -> None:
with client.profiles.with_streaming_response.retrieve(
@@ -101,7 +101,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -109,7 +109,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
profile = client.profiles.update(
@@ -124,7 +124,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert profile is None
- @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: Courier) -> None:
response = client.profiles.with_raw_response.update(
@@ -143,7 +143,7 @@ def test_raw_response_update(self, client: Courier) -> None:
profile = response.parse()
assert profile is None
- @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: Courier) -> None:
with client.profiles.with_streaming_response.update(
@@ -164,7 +164,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -179,7 +179,7 @@ def test_path_params_update(self, client: Courier) -> None:
],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_delete(self, client: Courier) -> None:
profile = client.profiles.delete(
@@ -187,7 +187,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert profile is None
- @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: Courier) -> None:
response = client.profiles.with_raw_response.delete(
@@ -199,7 +199,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
profile = response.parse()
assert profile is None
- @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: Courier) -> None:
with client.profiles.with_streaming_response.delete(
@@ -213,7 +213,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -221,7 +221,7 @@ def test_path_params_delete(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_replace(self, client: Courier) -> None:
profile = client.profiles.replace(
@@ -230,7 +230,7 @@ def test_method_replace(self, client: Courier) -> None:
)
assert_matches_type(ProfileReplaceResponse, profile, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_replace(self, client: Courier) -> None:
response = client.profiles.with_raw_response.replace(
@@ -243,7 +243,7 @@ def test_raw_response_replace(self, client: Courier) -> None:
profile = response.parse()
assert_matches_type(ProfileReplaceResponse, profile, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_replace(self, client: Courier) -> None:
with client.profiles.with_streaming_response.replace(
@@ -258,7 +258,7 @@ def test_streaming_response_replace(self, client: Courier) -> 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_path_params_replace(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -273,7 +273,7 @@ class TestAsyncProfiles:
"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: AsyncCourier) -> None:
profile = await async_client.profiles.create(
@@ -282,7 +282,7 @@ async def test_method_create(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ProfileCreateResponse, profile, 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: AsyncCourier) -> None:
response = await async_client.profiles.with_raw_response.create(
@@ -295,7 +295,7 @@ async def test_raw_response_create(self, async_client: AsyncCourier) -> None:
profile = await response.parse()
assert_matches_type(ProfileCreateResponse, profile, 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: AsyncCourier) -> None:
async with async_client.profiles.with_streaming_response.create(
@@ -310,7 +310,7 @@ async def test_streaming_response_create(self, async_client: AsyncCourier) -> No
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_path_params_create(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -319,7 +319,7 @@ async def test_path_params_create(self, async_client: AsyncCourier) -> None:
profile={"foo": "bar"},
)
- @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: AsyncCourier) -> None:
profile = await async_client.profiles.retrieve(
@@ -327,7 +327,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ProfileRetrieveResponse, profile, 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: AsyncCourier) -> None:
response = await async_client.profiles.with_raw_response.retrieve(
@@ -339,7 +339,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
profile = await response.parse()
assert_matches_type(ProfileRetrieveResponse, profile, 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: AsyncCourier) -> None:
async with async_client.profiles.with_streaming_response.retrieve(
@@ -353,7 +353,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -361,7 +361,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
profile = await async_client.profiles.update(
@@ -376,7 +376,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert profile is None
- @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: AsyncCourier) -> None:
response = await async_client.profiles.with_raw_response.update(
@@ -395,7 +395,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
profile = await response.parse()
assert profile is None
- @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: AsyncCourier) -> None:
async with async_client.profiles.with_streaming_response.update(
@@ -416,7 +416,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -431,7 +431,7 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
],
)
- @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: AsyncCourier) -> None:
profile = await async_client.profiles.delete(
@@ -439,7 +439,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert profile is None
- @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: AsyncCourier) -> None:
response = await async_client.profiles.with_raw_response.delete(
@@ -451,7 +451,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
profile = await response.parse()
assert profile is None
- @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: AsyncCourier) -> None:
async with async_client.profiles.with_streaming_response.delete(
@@ -465,7 +465,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -473,7 +473,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_replace(self, async_client: AsyncCourier) -> None:
profile = await async_client.profiles.replace(
@@ -482,7 +482,7 @@ async def test_method_replace(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(ProfileReplaceResponse, profile, 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_replace(self, async_client: AsyncCourier) -> None:
response = await async_client.profiles.with_raw_response.replace(
@@ -495,7 +495,7 @@ async def test_raw_response_replace(self, async_client: AsyncCourier) -> None:
profile = await response.parse()
assert_matches_type(ProfileReplaceResponse, profile, 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_replace(self, async_client: AsyncCourier) -> None:
async with async_client.profiles.with_streaming_response.replace(
@@ -510,7 +510,7 @@ async def test_streaming_response_replace(self, async_client: AsyncCourier) -> 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_path_params_replace(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
diff --git a/tests/api_resources/test_requests.py b/tests/api_resources/test_requests.py
index 682791c..b813d13 100644
--- a/tests/api_resources/test_requests.py
+++ b/tests/api_resources/test_requests.py
@@ -15,7 +15,7 @@
class TestRequests:
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_archive(self, client: Courier) -> None:
request = client.requests.archive(
@@ -23,7 +23,7 @@ def test_method_archive(self, client: Courier) -> None:
)
assert request is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_archive(self, client: Courier) -> None:
response = client.requests.with_raw_response.archive(
@@ -35,7 +35,7 @@ def test_raw_response_archive(self, client: Courier) -> None:
request = response.parse()
assert request is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_archive(self, client: Courier) -> None:
with client.requests.with_streaming_response.archive(
@@ -49,7 +49,7 @@ def test_streaming_response_archive(self, client: Courier) -> 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_path_params_archive(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `request_id` but received ''"):
@@ -63,7 +63,7 @@ class TestAsyncRequests:
"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_archive(self, async_client: AsyncCourier) -> None:
request = await async_client.requests.archive(
@@ -71,7 +71,7 @@ async def test_method_archive(self, async_client: AsyncCourier) -> None:
)
assert request is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_archive(self, async_client: AsyncCourier) -> None:
response = await async_client.requests.with_raw_response.archive(
@@ -83,7 +83,7 @@ async def test_raw_response_archive(self, async_client: AsyncCourier) -> None:
request = await response.parse()
assert request is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_archive(self, async_client: AsyncCourier) -> None:
async with async_client.requests.with_streaming_response.archive(
@@ -97,7 +97,7 @@ async def test_streaming_response_archive(self, async_client: AsyncCourier) -> 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_path_params_archive(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `request_id` but received ''"):
diff --git a/tests/api_resources/test_send.py b/tests/api_resources/test_send.py
index 46a39c4..81bb3fa 100644
--- a/tests/api_resources/test_send.py
+++ b/tests/api_resources/test_send.py
@@ -17,7 +17,7 @@
class TestSend:
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_message(self, client: Courier) -> None:
send = client.send.message(
@@ -25,7 +25,7 @@ def test_method_message(self, client: Courier) -> None:
)
assert_matches_type(SendMessageResponse, send, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_message_with_all_params(self, client: Courier) -> None:
send = client.send.message(
@@ -153,7 +153,7 @@ def test_method_message_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(SendMessageResponse, send, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_message(self, client: Courier) -> None:
response = client.send.with_raw_response.message(
@@ -165,7 +165,7 @@ def test_raw_response_message(self, client: Courier) -> None:
send = response.parse()
assert_matches_type(SendMessageResponse, send, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_message(self, client: Courier) -> None:
with client.send.with_streaming_response.message(
@@ -185,7 +185,7 @@ class TestAsyncSend:
"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_message(self, async_client: AsyncCourier) -> None:
send = await async_client.send.message(
@@ -193,7 +193,7 @@ async def test_method_message(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(SendMessageResponse, send, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_message_with_all_params(self, async_client: AsyncCourier) -> None:
send = await async_client.send.message(
@@ -321,7 +321,7 @@ async def test_method_message_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(SendMessageResponse, send, 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_message(self, async_client: AsyncCourier) -> None:
response = await async_client.send.with_raw_response.message(
@@ -333,7 +333,7 @@ async def test_raw_response_message(self, async_client: AsyncCourier) -> None:
send = await response.parse()
assert_matches_type(SendMessageResponse, send, 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_message(self, async_client: AsyncCourier) -> None:
async with async_client.send.with_streaming_response.message(
diff --git a/tests/api_resources/test_tenants.py b/tests/api_resources/test_tenants.py
index a1a5301..52e3494 100644
--- a/tests/api_resources/test_tenants.py
+++ b/tests/api_resources/test_tenants.py
@@ -21,7 +21,7 @@
class TestTenants:
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: Courier) -> None:
tenant = client.tenants.retrieve(
@@ -29,7 +29,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(Tenant, tenant, 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: Courier) -> None:
response = client.tenants.with_raw_response.retrieve(
@@ -41,7 +41,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
tenant = response.parse()
assert_matches_type(Tenant, tenant, 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: Courier) -> None:
with client.tenants.with_streaming_response.retrieve(
@@ -55,7 +55,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -63,7 +63,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
tenant = client.tenants.update(
@@ -72,7 +72,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert_matches_type(Tenant, tenant, 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: Courier) -> None:
tenant = client.tenants.update(
@@ -95,7 +95,7 @@ def test_method_update_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(Tenant, tenant, 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: Courier) -> None:
response = client.tenants.with_raw_response.update(
@@ -108,7 +108,7 @@ def test_raw_response_update(self, client: Courier) -> None:
tenant = response.parse()
assert_matches_type(Tenant, tenant, 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: Courier) -> None:
with client.tenants.with_streaming_response.update(
@@ -123,7 +123,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -132,13 +132,13 @@ def test_path_params_update(self, client: Courier) -> None:
name="name",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
tenant = client.tenants.list()
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
tenant = client.tenants.list(
@@ -148,7 +148,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
response = client.tenants.with_raw_response.list()
@@ -158,7 +158,7 @@ def test_raw_response_list(self, client: Courier) -> None:
tenant = response.parse()
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
with client.tenants.with_streaming_response.list() as response:
@@ -170,7 +170,7 @@ def test_streaming_response_list(self, client: Courier) -> 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: Courier) -> None:
tenant = client.tenants.delete(
@@ -178,7 +178,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert tenant is None
- @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: Courier) -> None:
response = client.tenants.with_raw_response.delete(
@@ -190,7 +190,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
tenant = response.parse()
assert tenant is None
- @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: Courier) -> None:
with client.tenants.with_streaming_response.delete(
@@ -204,7 +204,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -212,7 +212,7 @@ def test_path_params_delete(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list_users(self, client: Courier) -> None:
tenant = client.tenants.list_users(
@@ -220,7 +220,7 @@ def test_method_list_users(self, client: Courier) -> None:
)
assert_matches_type(TenantListUsersResponse, tenant, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list_users_with_all_params(self, client: Courier) -> None:
tenant = client.tenants.list_users(
@@ -230,7 +230,7 @@ def test_method_list_users_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(TenantListUsersResponse, tenant, 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_users(self, client: Courier) -> None:
response = client.tenants.with_raw_response.list_users(
@@ -242,7 +242,7 @@ def test_raw_response_list_users(self, client: Courier) -> None:
tenant = response.parse()
assert_matches_type(TenantListUsersResponse, tenant, 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_users(self, client: Courier) -> None:
with client.tenants.with_streaming_response.list_users(
@@ -256,7 +256,7 @@ def test_streaming_response_list_users(self, client: Courier) -> 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_path_params_list_users(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -270,7 +270,7 @@ class TestAsyncTenants:
"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: AsyncCourier) -> None:
tenant = await async_client.tenants.retrieve(
@@ -278,7 +278,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Tenant, tenant, 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: AsyncCourier) -> None:
response = await async_client.tenants.with_raw_response.retrieve(
@@ -290,7 +290,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
tenant = await response.parse()
assert_matches_type(Tenant, tenant, 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: AsyncCourier) -> None:
async with async_client.tenants.with_streaming_response.retrieve(
@@ -304,7 +304,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -312,7 +312,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
tenant = await async_client.tenants.update(
@@ -321,7 +321,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(Tenant, tenant, 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: AsyncCourier) -> None:
tenant = await async_client.tenants.update(
@@ -344,7 +344,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCourier) -
)
assert_matches_type(Tenant, tenant, 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: AsyncCourier) -> None:
response = await async_client.tenants.with_raw_response.update(
@@ -357,7 +357,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
tenant = await response.parse()
assert_matches_type(Tenant, tenant, 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: AsyncCourier) -> None:
async with async_client.tenants.with_streaming_response.update(
@@ -372,7 +372,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -381,13 +381,13 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
name="name",
)
- @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: AsyncCourier) -> None:
tenant = await async_client.tenants.list()
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
tenant = await async_client.tenants.list(
@@ -397,7 +397,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
response = await async_client.tenants.with_raw_response.list()
@@ -407,7 +407,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
tenant = await response.parse()
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
async with async_client.tenants.with_streaming_response.list() as response:
@@ -419,7 +419,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_delete(self, async_client: AsyncCourier) -> None:
tenant = await async_client.tenants.delete(
@@ -427,7 +427,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert tenant is None
- @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: AsyncCourier) -> None:
response = await async_client.tenants.with_raw_response.delete(
@@ -439,7 +439,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
tenant = await response.parse()
assert tenant is None
- @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: AsyncCourier) -> None:
async with async_client.tenants.with_streaming_response.delete(
@@ -453,7 +453,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
@@ -461,7 +461,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_list_users(self, async_client: AsyncCourier) -> None:
tenant = await async_client.tenants.list_users(
@@ -469,7 +469,7 @@ async def test_method_list_users(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(TenantListUsersResponse, tenant, 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_users_with_all_params(self, async_client: AsyncCourier) -> None:
tenant = await async_client.tenants.list_users(
@@ -479,7 +479,7 @@ async def test_method_list_users_with_all_params(self, async_client: AsyncCourie
)
assert_matches_type(TenantListUsersResponse, tenant, 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_users(self, async_client: AsyncCourier) -> None:
response = await async_client.tenants.with_raw_response.list_users(
@@ -491,7 +491,7 @@ async def test_raw_response_list_users(self, async_client: AsyncCourier) -> None
tenant = await response.parse()
assert_matches_type(TenantListUsersResponse, tenant, 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_users(self, async_client: AsyncCourier) -> None:
async with async_client.tenants.with_streaming_response.list_users(
@@ -505,7 +505,7 @@ async def test_streaming_response_list_users(self, async_client: AsyncCourier) -
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_path_params_list_users(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tenant_id` but received ''"):
diff --git a/tests/api_resources/test_translations.py b/tests/api_resources/test_translations.py
index 2a5a10c..b53eb7f 100644
--- a/tests/api_resources/test_translations.py
+++ b/tests/api_resources/test_translations.py
@@ -16,7 +16,7 @@
class TestTranslations:
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: Courier) -> None:
translation = client.translations.retrieve(
@@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(str, translation, 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: Courier) -> None:
response = client.translations.with_raw_response.retrieve(
@@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
translation = response.parse()
assert_matches_type(str, translation, 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: Courier) -> None:
with client.translations.with_streaming_response.retrieve(
@@ -53,7 +53,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"):
@@ -68,7 +68,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
domain="domain",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
translation = client.translations.update(
@@ -78,7 +78,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert translation is None
- @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: Courier) -> None:
response = client.translations.with_raw_response.update(
@@ -92,7 +92,7 @@ def test_raw_response_update(self, client: Courier) -> None:
translation = response.parse()
assert translation is None
- @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: Courier) -> None:
with client.translations.with_streaming_response.update(
@@ -108,7 +108,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"):
@@ -131,7 +131,7 @@ class TestAsyncTranslations:
"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: AsyncCourier) -> None:
translation = await async_client.translations.retrieve(
@@ -140,7 +140,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(str, translation, 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: AsyncCourier) -> None:
response = await async_client.translations.with_raw_response.retrieve(
@@ -153,7 +153,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
translation = await response.parse()
assert_matches_type(str, translation, 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: AsyncCourier) -> None:
async with async_client.translations.with_streaming_response.retrieve(
@@ -168,7 +168,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"):
@@ -183,7 +183,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
domain="domain",
)
- @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: AsyncCourier) -> None:
translation = await async_client.translations.update(
@@ -193,7 +193,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert translation is None
- @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: AsyncCourier) -> None:
response = await async_client.translations.with_raw_response.update(
@@ -207,7 +207,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
translation = await response.parse()
assert translation is None
- @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: AsyncCourier) -> None:
async with async_client.translations.with_streaming_response.update(
@@ -223,7 +223,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"):
diff --git a/tests/api_resources/users/test_preferences.py b/tests/api_resources/users/test_preferences.py
index db55cb9..bc46236 100644
--- a/tests/api_resources/users/test_preferences.py
+++ b/tests/api_resources/users/test_preferences.py
@@ -21,7 +21,7 @@
class TestPreferences:
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: Courier) -> None:
preference = client.users.preferences.retrieve(
@@ -29,7 +29,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(PreferenceRetrieveResponse, preference, 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: Courier) -> None:
preference = client.users.preferences.retrieve(
@@ -38,7 +38,7 @@ def test_method_retrieve_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(PreferenceRetrieveResponse, preference, 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: Courier) -> None:
response = client.users.preferences.with_raw_response.retrieve(
@@ -50,7 +50,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
preference = response.parse()
assert_matches_type(PreferenceRetrieveResponse, preference, 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: Courier) -> None:
with client.users.preferences.with_streaming_response.retrieve(
@@ -64,7 +64,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -72,7 +72,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
user_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_retrieve_topic(self, client: Courier) -> None:
preference = client.users.preferences.retrieve_topic(
@@ -81,7 +81,7 @@ def test_method_retrieve_topic(self, client: Courier) -> None:
)
assert_matches_type(PreferenceRetrieveTopicResponse, preference, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_retrieve_topic_with_all_params(self, client: Courier) -> None:
preference = client.users.preferences.retrieve_topic(
@@ -91,7 +91,7 @@ def test_method_retrieve_topic_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(PreferenceRetrieveTopicResponse, preference, 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_topic(self, client: Courier) -> None:
response = client.users.preferences.with_raw_response.retrieve_topic(
@@ -104,7 +104,7 @@ def test_raw_response_retrieve_topic(self, client: Courier) -> None:
preference = response.parse()
assert_matches_type(PreferenceRetrieveTopicResponse, preference, 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_topic(self, client: Courier) -> None:
with client.users.preferences.with_streaming_response.retrieve_topic(
@@ -119,7 +119,7 @@ def test_streaming_response_retrieve_topic(self, client: Courier) -> 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_path_params_retrieve_topic(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -134,7 +134,7 @@ def test_path_params_retrieve_topic(self, client: Courier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update_or_create_topic(self, client: Courier) -> None:
preference = client.users.preferences.update_or_create_topic(
@@ -144,7 +144,7 @@ def test_method_update_or_create_topic(self, client: Courier) -> None:
)
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, path=["response"])
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update_or_create_topic_with_all_params(self, client: Courier) -> None:
preference = client.users.preferences.update_or_create_topic(
@@ -159,7 +159,7 @@ def test_method_update_or_create_topic_with_all_params(self, client: Courier) ->
)
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, 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_or_create_topic(self, client: Courier) -> None:
response = client.users.preferences.with_raw_response.update_or_create_topic(
@@ -173,7 +173,7 @@ def test_raw_response_update_or_create_topic(self, client: Courier) -> None:
preference = response.parse()
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, 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_or_create_topic(self, client: Courier) -> None:
with client.users.preferences.with_streaming_response.update_or_create_topic(
@@ -189,7 +189,7 @@ def test_streaming_response_update_or_create_topic(self, client: Courier) -> 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
def test_path_params_update_or_create_topic(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -212,7 +212,7 @@ class TestAsyncPreferences:
"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: AsyncCourier) -> None:
preference = await async_client.users.preferences.retrieve(
@@ -220,7 +220,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(PreferenceRetrieveResponse, preference, 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: AsyncCourier) -> None:
preference = await async_client.users.preferences.retrieve(
@@ -229,7 +229,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncCourier)
)
assert_matches_type(PreferenceRetrieveResponse, preference, 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: AsyncCourier) -> None:
response = await async_client.users.preferences.with_raw_response.retrieve(
@@ -241,7 +241,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
preference = await response.parse()
assert_matches_type(PreferenceRetrieveResponse, preference, 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: AsyncCourier) -> None:
async with async_client.users.preferences.with_streaming_response.retrieve(
@@ -255,7 +255,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -263,7 +263,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
user_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_retrieve_topic(self, async_client: AsyncCourier) -> None:
preference = await async_client.users.preferences.retrieve_topic(
@@ -272,7 +272,7 @@ async def test_method_retrieve_topic(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(PreferenceRetrieveTopicResponse, preference, 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_topic_with_all_params(self, async_client: AsyncCourier) -> None:
preference = await async_client.users.preferences.retrieve_topic(
@@ -282,7 +282,7 @@ async def test_method_retrieve_topic_with_all_params(self, async_client: AsyncCo
)
assert_matches_type(PreferenceRetrieveTopicResponse, preference, 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_topic(self, async_client: AsyncCourier) -> None:
response = await async_client.users.preferences.with_raw_response.retrieve_topic(
@@ -295,7 +295,7 @@ async def test_raw_response_retrieve_topic(self, async_client: AsyncCourier) ->
preference = await response.parse()
assert_matches_type(PreferenceRetrieveTopicResponse, preference, 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_topic(self, async_client: AsyncCourier) -> None:
async with async_client.users.preferences.with_streaming_response.retrieve_topic(
@@ -310,7 +310,7 @@ async def test_streaming_response_retrieve_topic(self, async_client: AsyncCourie
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_path_params_retrieve_topic(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -325,7 +325,7 @@ async def test_path_params_retrieve_topic(self, async_client: AsyncCourier) -> N
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_update_or_create_topic(self, async_client: AsyncCourier) -> None:
preference = await async_client.users.preferences.update_or_create_topic(
@@ -335,7 +335,7 @@ async def test_method_update_or_create_topic(self, async_client: AsyncCourier) -
)
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, 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_or_create_topic_with_all_params(self, async_client: AsyncCourier) -> None:
preference = await async_client.users.preferences.update_or_create_topic(
@@ -350,7 +350,7 @@ async def test_method_update_or_create_topic_with_all_params(self, async_client:
)
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, 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_or_create_topic(self, async_client: AsyncCourier) -> None:
response = await async_client.users.preferences.with_raw_response.update_or_create_topic(
@@ -364,7 +364,7 @@ async def test_raw_response_update_or_create_topic(self, async_client: AsyncCour
preference = await response.parse()
assert_matches_type(PreferenceUpdateOrCreateTopicResponse, preference, 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_or_create_topic(self, async_client: AsyncCourier) -> None:
async with async_client.users.preferences.with_streaming_response.update_or_create_topic(
@@ -380,7 +380,7 @@ async def test_streaming_response_update_or_create_topic(self, async_client: Asy
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_path_params_update_or_create_topic(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
diff --git a/tests/api_resources/users/test_tenants.py b/tests/api_resources/users/test_tenants.py
index 8d550f6..856374e 100644
--- a/tests/api_resources/users/test_tenants.py
+++ b/tests/api_resources/users/test_tenants.py
@@ -19,7 +19,7 @@
class TestTenants:
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: Courier) -> None:
tenant = client.users.tenants.list(
@@ -27,7 +27,7 @@ def test_method_list(self, client: Courier) -> None:
)
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
tenant = client.users.tenants.list(
@@ -37,7 +37,7 @@ def test_method_list_with_all_params(self, client: Courier) -> None:
)
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
response = client.users.tenants.with_raw_response.list(
@@ -49,7 +49,7 @@ def test_raw_response_list(self, client: Courier) -> None:
tenant = response.parse()
assert_matches_type(TenantListResponse, tenant, 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: Courier) -> None:
with client.users.tenants.with_streaming_response.list(
@@ -63,7 +63,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_path_params_list(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -71,7 +71,7 @@ def test_path_params_list(self, client: Courier) -> None:
user_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_multiple(self, client: Courier) -> None:
tenant = client.users.tenants.add_multiple(
@@ -80,7 +80,7 @@ def test_method_add_multiple(self, client: Courier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add_multiple(self, client: Courier) -> None:
response = client.users.tenants.with_raw_response.add_multiple(
@@ -93,7 +93,7 @@ def test_raw_response_add_multiple(self, client: Courier) -> None:
tenant = response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add_multiple(self, client: Courier) -> None:
with client.users.tenants.with_streaming_response.add_multiple(
@@ -108,7 +108,7 @@ def test_streaming_response_add_multiple(self, client: Courier) -> 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_path_params_add_multiple(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -117,7 +117,7 @@ def test_path_params_add_multiple(self, client: Courier) -> None:
tenants=[{"tenant_id": "tenant_id"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_single(self, client: Courier) -> None:
tenant = client.users.tenants.add_single(
@@ -126,7 +126,7 @@ def test_method_add_single(self, client: Courier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_single_with_all_params(self, client: Courier) -> None:
tenant = client.users.tenants.add_single(
@@ -136,7 +136,7 @@ def test_method_add_single_with_all_params(self, client: Courier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add_single(self, client: Courier) -> None:
response = client.users.tenants.with_raw_response.add_single(
@@ -149,7 +149,7 @@ def test_raw_response_add_single(self, client: Courier) -> None:
tenant = response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add_single(self, client: Courier) -> None:
with client.users.tenants.with_streaming_response.add_single(
@@ -164,7 +164,7 @@ def test_streaming_response_add_single(self, client: Courier) -> 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_path_params_add_single(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -179,7 +179,7 @@ def test_path_params_add_single(self, client: Courier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_remove_all(self, client: Courier) -> None:
tenant = client.users.tenants.remove_all(
@@ -187,7 +187,7 @@ def test_method_remove_all(self, client: Courier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_remove_all(self, client: Courier) -> None:
response = client.users.tenants.with_raw_response.remove_all(
@@ -199,7 +199,7 @@ def test_raw_response_remove_all(self, client: Courier) -> None:
tenant = response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_remove_all(self, client: Courier) -> None:
with client.users.tenants.with_streaming_response.remove_all(
@@ -213,7 +213,7 @@ def test_streaming_response_remove_all(self, client: Courier) -> 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_path_params_remove_all(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -221,7 +221,7 @@ def test_path_params_remove_all(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_remove_single(self, client: Courier) -> None:
tenant = client.users.tenants.remove_single(
@@ -230,7 +230,7 @@ def test_method_remove_single(self, client: Courier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_remove_single(self, client: Courier) -> None:
response = client.users.tenants.with_raw_response.remove_single(
@@ -243,7 +243,7 @@ def test_raw_response_remove_single(self, client: Courier) -> None:
tenant = response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_remove_single(self, client: Courier) -> None:
with client.users.tenants.with_streaming_response.remove_single(
@@ -258,7 +258,7 @@ def test_streaming_response_remove_single(self, client: Courier) -> 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_path_params_remove_single(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -279,7 +279,7 @@ class TestAsyncTenants:
"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: AsyncCourier) -> None:
tenant = await async_client.users.tenants.list(
@@ -287,7 +287,7 @@ async def test_method_list(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
tenant = await async_client.users.tenants.list(
@@ -297,7 +297,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCourier) ->
)
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
response = await async_client.users.tenants.with_raw_response.list(
@@ -309,7 +309,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
tenant = await response.parse()
assert_matches_type(TenantListResponse, tenant, 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: AsyncCourier) -> None:
async with async_client.users.tenants.with_streaming_response.list(
@@ -323,7 +323,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_path_params_list(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -331,7 +331,7 @@ async def test_path_params_list(self, async_client: AsyncCourier) -> None:
user_id="",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_multiple(self, async_client: AsyncCourier) -> None:
tenant = await async_client.users.tenants.add_multiple(
@@ -340,7 +340,7 @@ async def test_method_add_multiple(self, async_client: AsyncCourier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add_multiple(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tenants.with_raw_response.add_multiple(
@@ -353,7 +353,7 @@ async def test_raw_response_add_multiple(self, async_client: AsyncCourier) -> No
tenant = await response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add_multiple(self, async_client: AsyncCourier) -> None:
async with async_client.users.tenants.with_streaming_response.add_multiple(
@@ -368,7 +368,7 @@ async def test_streaming_response_add_multiple(self, async_client: AsyncCourier)
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_path_params_add_multiple(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -377,7 +377,7 @@ async def test_path_params_add_multiple(self, async_client: AsyncCourier) -> Non
tenants=[{"tenant_id": "tenant_id"}],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_single(self, async_client: AsyncCourier) -> None:
tenant = await async_client.users.tenants.add_single(
@@ -386,7 +386,7 @@ async def test_method_add_single(self, async_client: AsyncCourier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_single_with_all_params(self, async_client: AsyncCourier) -> None:
tenant = await async_client.users.tenants.add_single(
@@ -396,7 +396,7 @@ async def test_method_add_single_with_all_params(self, async_client: AsyncCourie
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tenants.with_raw_response.add_single(
@@ -409,7 +409,7 @@ async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None
tenant = await response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add_single(self, async_client: AsyncCourier) -> None:
async with async_client.users.tenants.with_streaming_response.add_single(
@@ -424,7 +424,7 @@ async def test_streaming_response_add_single(self, async_client: AsyncCourier) -
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_path_params_add_single(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -439,7 +439,7 @@ async def test_path_params_add_single(self, async_client: AsyncCourier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_remove_all(self, async_client: AsyncCourier) -> None:
tenant = await async_client.users.tenants.remove_all(
@@ -447,7 +447,7 @@ async def test_method_remove_all(self, async_client: AsyncCourier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_remove_all(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tenants.with_raw_response.remove_all(
@@ -459,7 +459,7 @@ async def test_raw_response_remove_all(self, async_client: AsyncCourier) -> None
tenant = await response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_remove_all(self, async_client: AsyncCourier) -> None:
async with async_client.users.tenants.with_streaming_response.remove_all(
@@ -473,7 +473,7 @@ async def test_streaming_response_remove_all(self, async_client: AsyncCourier) -
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_path_params_remove_all(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -481,7 +481,7 @@ async def test_path_params_remove_all(self, async_client: AsyncCourier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_remove_single(self, async_client: AsyncCourier) -> None:
tenant = await async_client.users.tenants.remove_single(
@@ -490,7 +490,7 @@ async def test_method_remove_single(self, async_client: AsyncCourier) -> None:
)
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_remove_single(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tenants.with_raw_response.remove_single(
@@ -503,7 +503,7 @@ async def test_raw_response_remove_single(self, async_client: AsyncCourier) -> N
tenant = await response.parse()
assert tenant is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_remove_single(self, async_client: AsyncCourier) -> None:
async with async_client.users.tenants.with_streaming_response.remove_single(
@@ -518,7 +518,7 @@ async def test_streaming_response_remove_single(self, async_client: AsyncCourier
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_path_params_remove_single(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
diff --git a/tests/api_resources/users/test_tokens.py b/tests/api_resources/users/test_tokens.py
index cbcf4e1..cbf01a5 100644
--- a/tests/api_resources/users/test_tokens.py
+++ b/tests/api_resources/users/test_tokens.py
@@ -17,7 +17,7 @@
class TestTokens:
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: Courier) -> None:
token = client.users.tokens.retrieve(
@@ -26,7 +26,7 @@ def test_method_retrieve(self, client: Courier) -> None:
)
assert_matches_type(TokenRetrieveResponse, token, 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: Courier) -> None:
response = client.users.tokens.with_raw_response.retrieve(
@@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Courier) -> None:
token = response.parse()
assert_matches_type(TokenRetrieveResponse, token, 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: Courier) -> None:
with client.users.tokens.with_streaming_response.retrieve(
@@ -54,7 +54,7 @@ def test_streaming_response_retrieve(self, client: Courier) -> 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_path_params_retrieve(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -69,7 +69,7 @@ def test_path_params_retrieve(self, client: Courier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_update(self, client: Courier) -> None:
token = client.users.tokens.update(
@@ -84,7 +84,7 @@ def test_method_update(self, client: Courier) -> None:
)
assert token is None
- @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: Courier) -> None:
response = client.users.tokens.with_raw_response.update(
@@ -103,7 +103,7 @@ def test_raw_response_update(self, client: Courier) -> None:
token = response.parse()
assert token is None
- @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: Courier) -> None:
with client.users.tokens.with_streaming_response.update(
@@ -124,7 +124,7 @@ def test_streaming_response_update(self, client: Courier) -> 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_path_params_update(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -151,7 +151,7 @@ def test_path_params_update(self, client: Courier) -> None:
],
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_list(self, client: Courier) -> None:
token = client.users.tokens.list(
@@ -159,7 +159,7 @@ def test_method_list(self, client: Courier) -> None:
)
assert_matches_type(TokenListResponse, token, 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: Courier) -> None:
response = client.users.tokens.with_raw_response.list(
@@ -171,7 +171,7 @@ def test_raw_response_list(self, client: Courier) -> None:
token = response.parse()
assert_matches_type(TokenListResponse, token, 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: Courier) -> None:
with client.users.tokens.with_streaming_response.list(
@@ -185,7 +185,7 @@ def test_streaming_response_list(self, client: Courier) -> 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_path_params_list(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -193,7 +193,7 @@ def test_path_params_list(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_delete(self, client: Courier) -> None:
token = client.users.tokens.delete(
@@ -202,7 +202,7 @@ def test_method_delete(self, client: Courier) -> None:
)
assert token is None
- @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: Courier) -> None:
response = client.users.tokens.with_raw_response.delete(
@@ -215,7 +215,7 @@ def test_raw_response_delete(self, client: Courier) -> None:
token = response.parse()
assert token is None
- @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: Courier) -> None:
with client.users.tokens.with_streaming_response.delete(
@@ -230,7 +230,7 @@ def test_streaming_response_delete(self, client: Courier) -> 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_path_params_delete(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -245,7 +245,7 @@ def test_path_params_delete(self, client: Courier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_multiple(self, client: Courier) -> None:
token = client.users.tokens.add_multiple(
@@ -253,7 +253,7 @@ def test_method_add_multiple(self, client: Courier) -> None:
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add_multiple(self, client: Courier) -> None:
response = client.users.tokens.with_raw_response.add_multiple(
@@ -265,7 +265,7 @@ def test_raw_response_add_multiple(self, client: Courier) -> None:
token = response.parse()
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add_multiple(self, client: Courier) -> None:
with client.users.tokens.with_streaming_response.add_multiple(
@@ -279,7 +279,7 @@ def test_streaming_response_add_multiple(self, client: Courier) -> 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_path_params_add_multiple(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -287,7 +287,7 @@ def test_path_params_add_multiple(self, client: Courier) -> None:
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_single(self, client: Courier) -> None:
token = client.users.tokens.add_single(
@@ -298,7 +298,7 @@ def test_method_add_single(self, client: Courier) -> None:
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_method_add_single_with_all_params(self, client: Courier) -> None:
token = client.users.tokens.add_single(
@@ -325,7 +325,7 @@ def test_method_add_single_with_all_params(self, client: Courier) -> None:
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_raw_response_add_single(self, client: Courier) -> None:
response = client.users.tokens.with_raw_response.add_single(
@@ -340,7 +340,7 @@ def test_raw_response_add_single(self, client: Courier) -> None:
token = response.parse()
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
def test_streaming_response_add_single(self, client: Courier) -> None:
with client.users.tokens.with_streaming_response.add_single(
@@ -357,7 +357,7 @@ def test_streaming_response_add_single(self, client: Courier) -> 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_path_params_add_single(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -382,7 +382,7 @@ class TestAsyncTokens:
"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: AsyncCourier) -> None:
token = await async_client.users.tokens.retrieve(
@@ -391,7 +391,7 @@ async def test_method_retrieve(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(TokenRetrieveResponse, token, 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: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.retrieve(
@@ -404,7 +404,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCourier) -> None:
token = await response.parse()
assert_matches_type(TokenRetrieveResponse, token, 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: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.retrieve(
@@ -419,7 +419,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCourier) ->
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_path_params_retrieve(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -434,7 +434,7 @@ async def test_path_params_retrieve(self, async_client: AsyncCourier) -> None:
user_id="user_id",
)
- @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: AsyncCourier) -> None:
token = await async_client.users.tokens.update(
@@ -449,7 +449,7 @@ async def test_method_update(self, async_client: AsyncCourier) -> None:
)
assert token is None
- @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: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.update(
@@ -468,7 +468,7 @@ async def test_raw_response_update(self, async_client: AsyncCourier) -> None:
token = await response.parse()
assert token is None
- @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: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.update(
@@ -489,7 +489,7 @@ async def test_streaming_response_update(self, async_client: AsyncCourier) -> No
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_path_params_update(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -516,7 +516,7 @@ async def test_path_params_update(self, async_client: AsyncCourier) -> None:
],
)
- @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: AsyncCourier) -> None:
token = await async_client.users.tokens.list(
@@ -524,7 +524,7 @@ async def test_method_list(self, async_client: AsyncCourier) -> None:
)
assert_matches_type(TokenListResponse, token, 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: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.list(
@@ -536,7 +536,7 @@ async def test_raw_response_list(self, async_client: AsyncCourier) -> None:
token = await response.parse()
assert_matches_type(TokenListResponse, token, 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: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.list(
@@ -550,7 +550,7 @@ async def test_streaming_response_list(self, async_client: AsyncCourier) -> 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_path_params_list(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -558,7 +558,7 @@ async def test_path_params_list(self, async_client: AsyncCourier) -> None:
"",
)
- @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: AsyncCourier) -> None:
token = await async_client.users.tokens.delete(
@@ -567,7 +567,7 @@ async def test_method_delete(self, async_client: AsyncCourier) -> None:
)
assert token is None
- @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: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.delete(
@@ -580,7 +580,7 @@ async def test_raw_response_delete(self, async_client: AsyncCourier) -> None:
token = await response.parse()
assert token is None
- @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: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.delete(
@@ -595,7 +595,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCourier) -> No
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_path_params_delete(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -610,7 +610,7 @@ async def test_path_params_delete(self, async_client: AsyncCourier) -> None:
user_id="user_id",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_multiple(self, async_client: AsyncCourier) -> None:
token = await async_client.users.tokens.add_multiple(
@@ -618,7 +618,7 @@ async def test_method_add_multiple(self, async_client: AsyncCourier) -> None:
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add_multiple(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.add_multiple(
@@ -630,7 +630,7 @@ async def test_raw_response_add_multiple(self, async_client: AsyncCourier) -> No
token = await response.parse()
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add_multiple(self, async_client: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.add_multiple(
@@ -644,7 +644,7 @@ async def test_streaming_response_add_multiple(self, async_client: AsyncCourier)
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_path_params_add_multiple(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
@@ -652,7 +652,7 @@ async def test_path_params_add_multiple(self, async_client: AsyncCourier) -> Non
"",
)
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_single(self, async_client: AsyncCourier) -> None:
token = await async_client.users.tokens.add_single(
@@ -663,7 +663,7 @@ async def test_method_add_single(self, async_client: AsyncCourier) -> None:
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_method_add_single_with_all_params(self, async_client: AsyncCourier) -> None:
token = await async_client.users.tokens.add_single(
@@ -690,7 +690,7 @@ async def test_method_add_single_with_all_params(self, async_client: AsyncCourie
)
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.add_single(
@@ -705,7 +705,7 @@ async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None
token = await response.parse()
assert token is None
- @pytest.mark.skip(reason="Prism tests are disabled")
+ @pytest.mark.skip(reason="Mock server tests are disabled")
@parametrize
async def test_streaming_response_add_single(self, async_client: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.add_single(
@@ -722,7 +722,7 @@ async def test_streaming_response_add_single(self, async_client: AsyncCourier) -
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_path_params_add_single(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
From bba624332adaf4c9f01bc3c6d6d2a5635770921a Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 20 Feb 2026 19:28:03 +0000
Subject: [PATCH 07/15] codegen metadata
---
.stats.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.stats.yml b/.stats.yml
index 290f28d..f689757 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
-config_hash: 0789c3cddc625bb9712b3bded274ab6c
+config_hash: 6f072c60adb74a68d27be5a0e5ea3124
From 7f342f99eb625e3091aa1c0fb794fac4d6aec20c Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 24 Feb 2026 05:05:39 +0000
Subject: [PATCH 08/15] chore(internal): add request options to SSE classes
---
src/courier/_response.py | 3 +++
src/courier/_streaming.py | 11 ++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/courier/_response.py b/src/courier/_response.py
index dd471fa..f92a6b7 100644
--- a/src/courier/_response.py
+++ b/src/courier/_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/courier/_streaming.py b/src/courier/_streaming.py
index 5eb94d8..b6bde76 100644
--- a/src/courier/_streaming.py
+++ b/src/courier/_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 Courier, AsyncCourier
+ 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: Courier,
+ 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: AsyncCourier,
+ 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__()
From d82fd8d691c3944903526f5e2d78043f9b8c76dd Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 24 Feb 2026 05:16:39 +0000
Subject: [PATCH 09/15] chore(internal): make
`test_proxy_environment_variables` more resilient
---
tests/test_client.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test_client.py b/tests/test_client.py
index f023e65..43fa26b 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -945,6 +945,8 @@ 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 this set
+ monkeypatch.delenv("HTTP_PROXY", raising=False)
client = DefaultHttpxClient()
@@ -1853,6 +1855,8 @@ 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 this set
+ monkeypatch.delenv("HTTP_PROXY", raising=False)
client = DefaultAsyncHttpxClient()
From 8aaf597d7635aa5137092f1c5579ccffd3868a2e Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 25 Feb 2026 04:49:29 +0000
Subject: [PATCH 10/15] chore(internal): make
`test_proxy_environment_variables` more resilient to env
---
tests/test_client.py | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/tests/test_client.py b/tests/test_client.py
index 43fa26b..c9c2c02 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -945,8 +945,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 this set
+ # 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()
@@ -1855,8 +1861,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 this set
+ # 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()
From 0fe1942b6938a15270887b27eb2670037b6f9205 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 27 Feb 2026 15:24:49 +0000
Subject: [PATCH 11/15] codegen metadata
---
.stats.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.stats.yml b/.stats.yml
index f689757..cf1029b 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
-config_hash: 6f072c60adb74a68d27be5a0e5ea3124
+config_hash: 1e5350a5c77a04368f25acd83d8f64d1
From 77a903c048d55424cf26cf7f8ac759690290ff83 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Mon, 2 Mar 2026 17:42:12 +0000
Subject: [PATCH 12/15] codegen metadata
---
.stats.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.stats.yml b/.stats.yml
index cf1029b..d3f2bfa 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
-config_hash: 1e5350a5c77a04368f25acd83d8f64d1
+config_hash: b6f3cbae8c9807a0197d575b2d09790d
From d66db4bd8b4cdb029b8a5c105e60f727b7a6e865 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 3 Mar 2026 17:27:25 +0000
Subject: [PATCH 13/15] codegen metadata
---
.stats.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.stats.yml b/.stats.yml
index d3f2bfa..8eca401 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
-config_hash: b6f3cbae8c9807a0197d575b2d09790d
+config_hash: b1f6d0f43161b66d201043fcbe5c5695
From 3ee45a8171b58edeb0eaec4be7f7cb689abf0bfe Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 3 Mar 2026 21:21:02 +0000
Subject: [PATCH 14/15] fix(api): remove body_token, rename path_token in
users.tokens.add_single
---
.stats.yml | 4 +-
api.md | 2 +-
src/courier/resources/users/tokens.py | 24 ++++-------
.../types/users/token_add_single_params.py | 7 +---
tests/api_resources/users/test_tokens.py | 40 +++++++------------
5 files changed, 26 insertions(+), 51 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 8eca401..bb69a63 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 81
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml
-openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-44c2e612f5d40e03f56712a4e123a193e6ea03cc64a91d0c34ee094563dafa1c.yml
+openapi_spec_hash: 40bf6b3f7992d55f1bd543f32564ea86
config_hash: b1f6d0f43161b66d201043fcbe5c5695
diff --git a/api.md b/api.md
index 5cbd3da..a2de4c1 100644
--- a/api.md
+++ b/api.md
@@ -473,4 +473,4 @@ Methods:
- client.users.tokens.list(user_id) -> TokenListResponse
- client.users.tokens.delete(token, \*, user_id) -> None
- client.users.tokens.add_multiple(user_id) -> None
-- client.users.tokens.add_single(path_token, \*, user_id, \*\*params) -> None
+- client.users.tokens.add_single(token, \*, user_id, \*\*params) -> None
diff --git a/src/courier/resources/users/tokens.py b/src/courier/resources/users/tokens.py
index 9399a07..047a198 100644
--- a/src/courier/resources/users/tokens.py
+++ b/src/courier/resources/users/tokens.py
@@ -226,10 +226,9 @@ def add_multiple(
def add_single(
self,
- path_token: str,
+ token: str,
*,
user_id: str,
- body_token: str,
provider_key: Literal["firebase-fcm", "apn", "expo", "onesignal"],
device: Optional[token_add_single_params.Device] | Omit = omit,
expiry_date: Union[str, bool, None] | Omit = omit,
@@ -246,8 +245,6 @@ def add_single(
Adds a single token to a user and overwrites a matching existing token.
Args:
- body_token: Full body of the token. Must match token in URL path parameter.
-
device: Information about the device the token came from.
expiry_date: ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to
@@ -267,14 +264,13 @@ def add_single(
"""
if not user_id:
raise ValueError(f"Expected a non-empty value for `user_id` but received {user_id!r}")
- if not path_token:
- raise ValueError(f"Expected a non-empty value for `path_token` but received {path_token!r}")
+ if not token:
+ raise ValueError(f"Expected a non-empty value for `token` but received {token!r}")
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._put(
- f"/users/{user_id}/tokens/{path_token}",
+ f"/users/{user_id}/tokens/{token}",
body=maybe_transform(
{
- "body_token": body_token,
"provider_key": provider_key,
"device": device,
"expiry_date": expiry_date,
@@ -491,10 +487,9 @@ async def add_multiple(
async def add_single(
self,
- path_token: str,
+ token: str,
*,
user_id: str,
- body_token: str,
provider_key: Literal["firebase-fcm", "apn", "expo", "onesignal"],
device: Optional[token_add_single_params.Device] | Omit = omit,
expiry_date: Union[str, bool, None] | Omit = omit,
@@ -511,8 +506,6 @@ async def add_single(
Adds a single token to a user and overwrites a matching existing token.
Args:
- body_token: Full body of the token. Must match token in URL path parameter.
-
device: Information about the device the token came from.
expiry_date: ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to
@@ -532,14 +525,13 @@ async def add_single(
"""
if not user_id:
raise ValueError(f"Expected a non-empty value for `user_id` but received {user_id!r}")
- if not path_token:
- raise ValueError(f"Expected a non-empty value for `path_token` but received {path_token!r}")
+ if not token:
+ raise ValueError(f"Expected a non-empty value for `token` but received {token!r}")
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._put(
- f"/users/{user_id}/tokens/{path_token}",
+ f"/users/{user_id}/tokens/{token}",
body=await async_maybe_transform(
{
- "body_token": body_token,
"provider_key": provider_key,
"device": device,
"expiry_date": expiry_date,
diff --git a/src/courier/types/users/token_add_single_params.py b/src/courier/types/users/token_add_single_params.py
index 49d0b12..151ea84 100644
--- a/src/courier/types/users/token_add_single_params.py
+++ b/src/courier/types/users/token_add_single_params.py
@@ -3,9 +3,7 @@
from __future__ import annotations
from typing import Union, Optional
-from typing_extensions import Literal, Required, Annotated, TypedDict
-
-from ..._utils import PropertyInfo
+from typing_extensions import Literal, Required, TypedDict
__all__ = ["TokenAddSingleParams", "Device", "Tracking"]
@@ -13,9 +11,6 @@
class TokenAddSingleParams(TypedDict, total=False):
user_id: Required[str]
- body_token: Required[Annotated[str, PropertyInfo(alias="token")]]
- """Full body of the token. Must match token in URL path parameter."""
-
provider_key: Required[Literal["firebase-fcm", "apn", "expo", "onesignal"]]
device: Optional[Device]
diff --git a/tests/api_resources/users/test_tokens.py b/tests/api_resources/users/test_tokens.py
index cbf01a5..f44d457 100644
--- a/tests/api_resources/users/test_tokens.py
+++ b/tests/api_resources/users/test_tokens.py
@@ -291,9 +291,8 @@ def test_path_params_add_multiple(self, client: Courier) -> None:
@parametrize
def test_method_add_single(self, client: Courier) -> None:
token = client.users.tokens.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
assert token is None
@@ -302,9 +301,8 @@ def test_method_add_single(self, client: Courier) -> None:
@parametrize
def test_method_add_single_with_all_params(self, client: Courier) -> None:
token = client.users.tokens.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
device={
"ad_id": "ad_id",
@@ -329,9 +327,8 @@ def test_method_add_single_with_all_params(self, client: Courier) -> None:
@parametrize
def test_raw_response_add_single(self, client: Courier) -> None:
response = client.users.tokens.with_raw_response.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
@@ -344,9 +341,8 @@ def test_raw_response_add_single(self, client: Courier) -> None:
@parametrize
def test_streaming_response_add_single(self, client: Courier) -> None:
with client.users.tokens.with_streaming_response.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
) as response:
assert not response.is_closed
@@ -362,17 +358,15 @@ def test_streaming_response_add_single(self, client: Courier) -> None:
def test_path_params_add_single(self, client: Courier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
client.users.tokens.with_raw_response.add_single(
- path_token="token",
+ token="token",
user_id="",
- body_token="token",
provider_key="firebase-fcm",
)
- with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_token` but received ''"):
+ with pytest.raises(ValueError, match=r"Expected a non-empty value for `token` but received ''"):
client.users.tokens.with_raw_response.add_single(
- path_token="",
+ token="",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
@@ -656,9 +650,8 @@ async def test_path_params_add_multiple(self, async_client: AsyncCourier) -> Non
@parametrize
async def test_method_add_single(self, async_client: AsyncCourier) -> None:
token = await async_client.users.tokens.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
assert token is None
@@ -667,9 +660,8 @@ async def test_method_add_single(self, async_client: AsyncCourier) -> None:
@parametrize
async def test_method_add_single_with_all_params(self, async_client: AsyncCourier) -> None:
token = await async_client.users.tokens.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
device={
"ad_id": "ad_id",
@@ -694,9 +686,8 @@ async def test_method_add_single_with_all_params(self, async_client: AsyncCourie
@parametrize
async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None:
response = await async_client.users.tokens.with_raw_response.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
@@ -709,9 +700,8 @@ async def test_raw_response_add_single(self, async_client: AsyncCourier) -> None
@parametrize
async def test_streaming_response_add_single(self, async_client: AsyncCourier) -> None:
async with async_client.users.tokens.with_streaming_response.add_single(
- path_token="token",
+ token="token",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
) as response:
assert not response.is_closed
@@ -727,16 +717,14 @@ async def test_streaming_response_add_single(self, async_client: AsyncCourier) -
async def test_path_params_add_single(self, async_client: AsyncCourier) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_id` but received ''"):
await async_client.users.tokens.with_raw_response.add_single(
- path_token="token",
+ token="token",
user_id="",
- body_token="token",
provider_key="firebase-fcm",
)
- with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_token` but received ''"):
+ with pytest.raises(ValueError, match=r"Expected a non-empty value for `token` but received ''"):
await async_client.users.tokens.with_raw_response.add_single(
- path_token="",
+ token="",
user_id="user_id",
- body_token="token",
provider_key="firebase-fcm",
)
From 3a23c690e410fd74271057678670ecf4dcb5a3eb Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 3 Mar 2026 21:21:19 +0000
Subject: [PATCH 15/15] release: 7.9.0
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 31 +++++++++++++++++++++++++++++++
pyproject.toml | 2 +-
src/courier/_version.py | 2 +-
4 files changed, 34 insertions(+), 3 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 6e39864..a75e9e7 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "7.8.0"
+ ".": "7.9.0"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index de6c40b..feebc1a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,36 @@
# Changelog
+## 7.9.0 (2026-03-03)
+
+Full Changelog: [v7.8.0...v7.9.0](https://github.com/trycourier/courier-python/compare/v7.8.0...v7.9.0)
+
+### Features
+
+* **api:** remove brand field from ElementalContent ([1354ff8](https://github.com/trycourier/courier-python/commit/1354ff8604b5732982ab3a36e3ed856070473ba5))
+
+
+### Bug Fixes
+
+* **api:** remove body_token, rename path_token in users.tokens.add_single ([3ee45a8](https://github.com/trycourier/courier-python/commit/3ee45a8171b58edeb0eaec4be7f7cb689abf0bfe))
+
+
+### Chores
+
+* format all `api.md` files ([0b4aca7](https://github.com/trycourier/courier-python/commit/0b4aca79b5d4c568aa262978040f57a2ba540f6f))
+* **internal:** add request options to SSE classes ([7f342f9](https://github.com/trycourier/courier-python/commit/7f342f99eb625e3091aa1c0fb794fac4d6aec20c))
+* **internal:** bump dependencies ([2c1457d](https://github.com/trycourier/courier-python/commit/2c1457d5017fc4093501861ca2cf99e5112ddeed))
+* **internal:** fix lint error on Python 3.14 ([58f8a6e](https://github.com/trycourier/courier-python/commit/58f8a6e0f5ed3370ef13741188be2691be0aa73f))
+* **internal:** make `test_proxy_environment_variables` more resilient ([d82fd8d](https://github.com/trycourier/courier-python/commit/d82fd8d691c3944903526f5e2d78043f9b8c76dd))
+* **internal:** make `test_proxy_environment_variables` more resilient to env ([8aaf597](https://github.com/trycourier/courier-python/commit/8aaf597d7635aa5137092f1c5579ccffd3868a2e))
+* **internal:** remove mock server code ([31b4e07](https://github.com/trycourier/courier-python/commit/31b4e07803c62389646e9037ca1056508525c075))
+* update mock server docs ([f18d539](https://github.com/trycourier/courier-python/commit/f18d539df79d21c9e4484bfdc865dd68523e1920))
+
+
+### Documentation
+
+* add AUTO-GENERATED-OVERVIEW markers for README sync ([#126](https://github.com/trycourier/courier-python/issues/126)) ([69391e1](https://github.com/trycourier/courier-python/commit/69391e1455bfd27cc6eb8bdce8f28551c6efce85))
+* sync README from mintlify-docs (2026-02-20 18:11 UTC) ([#127](https://github.com/trycourier/courier-python/issues/127)) ([e3757cc](https://github.com/trycourier/courier-python/commit/e3757cc4a457623795cc8e7aa99a6079ad5c001d))
+
## 7.8.0 (2026-02-06)
Full Changelog: [v7.7.1...v7.8.0](https://github.com/trycourier/courier-python/compare/v7.7.1...v7.8.0)
diff --git a/pyproject.toml b/pyproject.toml
index 492037b..f17335a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "trycourier"
-version = "7.8.0"
+version = "7.9.0"
description = "The official Python library for the Courier API"
dynamic = ["readme"]
license = "Apache-2.0"
diff --git a/src/courier/_version.py b/src/courier/_version.py
index b92a5b1..c3d0de8 100644
--- a/src/courier/_version.py
+++ b/src/courier/_version.py
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
__title__ = "courier"
-__version__ = "7.8.0" # x-release-please-version
+__version__ = "7.9.0" # x-release-please-version