Skip to content

Commit 4affc92

Browse files
chore(internal): update test skipping reason
1 parent b3b3fc8 commit 4affc92

File tree

8 files changed

+276
-276
lines changed

8 files changed

+276
-276
lines changed

tests/api_resources/messages/test_batch.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TestBatch:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_create(self, client: Agentex) -> None:
2323
batch = client.messages.batch.create(
@@ -31,7 +31,7 @@ def test_method_create(self, client: Agentex) -> None:
3131
)
3232
assert_matches_type(BatchCreateResponse, batch, path=["response"])
3333

34-
@pytest.mark.skip()
34+
@pytest.mark.skip(reason="Prism tests are disabled")
3535
@parametrize
3636
def test_raw_response_create(self, client: Agentex) -> None:
3737
response = client.messages.batch.with_raw_response.create(
@@ -49,7 +49,7 @@ def test_raw_response_create(self, client: Agentex) -> None:
4949
batch = response.parse()
5050
assert_matches_type(BatchCreateResponse, batch, path=["response"])
5151

52-
@pytest.mark.skip()
52+
@pytest.mark.skip(reason="Prism tests are disabled")
5353
@parametrize
5454
def test_streaming_response_create(self, client: Agentex) -> None:
5555
with client.messages.batch.with_streaming_response.create(
@@ -69,7 +69,7 @@ def test_streaming_response_create(self, client: Agentex) -> None:
6969

7070
assert cast(Any, response.is_closed) is True
7171

72-
@pytest.mark.skip()
72+
@pytest.mark.skip(reason="Prism tests are disabled")
7373
@parametrize
7474
def test_method_update(self, client: Agentex) -> None:
7575
batch = client.messages.batch.update(
@@ -83,7 +83,7 @@ def test_method_update(self, client: Agentex) -> None:
8383
)
8484
assert_matches_type(BatchUpdateResponse, batch, path=["response"])
8585

86-
@pytest.mark.skip()
86+
@pytest.mark.skip(reason="Prism tests are disabled")
8787
@parametrize
8888
def test_raw_response_update(self, client: Agentex) -> None:
8989
response = client.messages.batch.with_raw_response.update(
@@ -101,7 +101,7 @@ def test_raw_response_update(self, client: Agentex) -> None:
101101
batch = response.parse()
102102
assert_matches_type(BatchUpdateResponse, batch, path=["response"])
103103

104-
@pytest.mark.skip()
104+
@pytest.mark.skip(reason="Prism tests are disabled")
105105
@parametrize
106106
def test_streaming_response_update(self, client: Agentex) -> None:
107107
with client.messages.batch.with_streaming_response.update(
@@ -127,7 +127,7 @@ class TestAsyncBatch:
127127
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
128128
)
129129

130-
@pytest.mark.skip()
130+
@pytest.mark.skip(reason="Prism tests are disabled")
131131
@parametrize
132132
async def test_method_create(self, async_client: AsyncAgentex) -> None:
133133
batch = await async_client.messages.batch.create(
@@ -141,7 +141,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None:
141141
)
142142
assert_matches_type(BatchCreateResponse, batch, path=["response"])
143143

144-
@pytest.mark.skip()
144+
@pytest.mark.skip(reason="Prism tests are disabled")
145145
@parametrize
146146
async def test_raw_response_create(self, async_client: AsyncAgentex) -> None:
147147
response = await async_client.messages.batch.with_raw_response.create(
@@ -159,7 +159,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None:
159159
batch = await response.parse()
160160
assert_matches_type(BatchCreateResponse, batch, path=["response"])
161161

162-
@pytest.mark.skip()
162+
@pytest.mark.skip(reason="Prism tests are disabled")
163163
@parametrize
164164
async def test_streaming_response_create(self, async_client: AsyncAgentex) -> None:
165165
async with async_client.messages.batch.with_streaming_response.create(
@@ -179,7 +179,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No
179179

180180
assert cast(Any, response.is_closed) is True
181181

182-
@pytest.mark.skip()
182+
@pytest.mark.skip(reason="Prism tests are disabled")
183183
@parametrize
184184
async def test_method_update(self, async_client: AsyncAgentex) -> None:
185185
batch = await async_client.messages.batch.update(
@@ -193,7 +193,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None:
193193
)
194194
assert_matches_type(BatchUpdateResponse, batch, path=["response"])
195195

196-
@pytest.mark.skip()
196+
@pytest.mark.skip(reason="Prism tests are disabled")
197197
@parametrize
198198
async def test_raw_response_update(self, async_client: AsyncAgentex) -> None:
199199
response = await async_client.messages.batch.with_raw_response.update(
@@ -211,7 +211,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None:
211211
batch = await response.parse()
212212
assert_matches_type(BatchUpdateResponse, batch, path=["response"])
213213

214-
@pytest.mark.skip()
214+
@pytest.mark.skip(reason="Prism tests are disabled")
215215
@parametrize
216216
async def test_streaming_response_update(self, async_client: AsyncAgentex) -> None:
217217
async with async_client.messages.batch.with_streaming_response.update(

0 commit comments

Comments
 (0)