Skip to content

Commit 151d56b

Browse files
chore(internal): codegen related update
1 parent b283386 commit 151d56b

File tree

5 files changed

+184
-184
lines changed

5 files changed

+184
-184
lines changed

tests/api_resources/sessions/test_public_share.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
class TestPublicShare:
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: BrowserUse) -> None:
2323
public_share = client.sessions.public_share.create(
2424
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2525
)
2626
assert_matches_type(ShareView, public_share, path=["response"])
2727

28-
@pytest.mark.skip()
28+
@pytest.mark.skip(reason="Prism tests are disabled")
2929
@parametrize
3030
def test_raw_response_create(self, client: BrowserUse) -> None:
3131
response = client.sessions.public_share.with_raw_response.create(
@@ -37,7 +37,7 @@ def test_raw_response_create(self, client: BrowserUse) -> None:
3737
public_share = response.parse()
3838
assert_matches_type(ShareView, public_share, path=["response"])
3939

40-
@pytest.mark.skip()
40+
@pytest.mark.skip(reason="Prism tests are disabled")
4141
@parametrize
4242
def test_streaming_response_create(self, client: BrowserUse) -> None:
4343
with client.sessions.public_share.with_streaming_response.create(
@@ -51,23 +51,23 @@ def test_streaming_response_create(self, client: BrowserUse) -> None:
5151

5252
assert cast(Any, response.is_closed) is True
5353

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_path_params_create(self, client: BrowserUse) -> None:
5757
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
5858
client.sessions.public_share.with_raw_response.create(
5959
"",
6060
)
6161

62-
@pytest.mark.skip()
62+
@pytest.mark.skip(reason="Prism tests are disabled")
6363
@parametrize
6464
def test_method_retrieve(self, client: BrowserUse) -> None:
6565
public_share = client.sessions.public_share.retrieve(
6666
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
6767
)
6868
assert_matches_type(ShareView, public_share, path=["response"])
6969

70-
@pytest.mark.skip()
70+
@pytest.mark.skip(reason="Prism tests are disabled")
7171
@parametrize
7272
def test_raw_response_retrieve(self, client: BrowserUse) -> None:
7373
response = client.sessions.public_share.with_raw_response.retrieve(
@@ -79,7 +79,7 @@ def test_raw_response_retrieve(self, client: BrowserUse) -> None:
7979
public_share = response.parse()
8080
assert_matches_type(ShareView, public_share, path=["response"])
8181

82-
@pytest.mark.skip()
82+
@pytest.mark.skip(reason="Prism tests are disabled")
8383
@parametrize
8484
def test_streaming_response_retrieve(self, client: BrowserUse) -> None:
8585
with client.sessions.public_share.with_streaming_response.retrieve(
@@ -93,23 +93,23 @@ def test_streaming_response_retrieve(self, client: BrowserUse) -> None:
9393

9494
assert cast(Any, response.is_closed) is True
9595

96-
@pytest.mark.skip()
96+
@pytest.mark.skip(reason="Prism tests are disabled")
9797
@parametrize
9898
def test_path_params_retrieve(self, client: BrowserUse) -> None:
9999
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
100100
client.sessions.public_share.with_raw_response.retrieve(
101101
"",
102102
)
103103

104-
@pytest.mark.skip()
104+
@pytest.mark.skip(reason="Prism tests are disabled")
105105
@parametrize
106106
def test_method_delete(self, client: BrowserUse) -> None:
107107
public_share = client.sessions.public_share.delete(
108108
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
109109
)
110110
assert_matches_type(object, public_share, path=["response"])
111111

112-
@pytest.mark.skip()
112+
@pytest.mark.skip(reason="Prism tests are disabled")
113113
@parametrize
114114
def test_raw_response_delete(self, client: BrowserUse) -> None:
115115
response = client.sessions.public_share.with_raw_response.delete(
@@ -121,7 +121,7 @@ def test_raw_response_delete(self, client: BrowserUse) -> None:
121121
public_share = response.parse()
122122
assert_matches_type(object, public_share, path=["response"])
123123

124-
@pytest.mark.skip()
124+
@pytest.mark.skip(reason="Prism tests are disabled")
125125
@parametrize
126126
def test_streaming_response_delete(self, client: BrowserUse) -> None:
127127
with client.sessions.public_share.with_streaming_response.delete(
@@ -135,7 +135,7 @@ def test_streaming_response_delete(self, client: BrowserUse) -> None:
135135

136136
assert cast(Any, response.is_closed) is True
137137

138-
@pytest.mark.skip()
138+
@pytest.mark.skip(reason="Prism tests are disabled")
139139
@parametrize
140140
def test_path_params_delete(self, client: BrowserUse) -> None:
141141
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
@@ -149,15 +149,15 @@ class TestAsyncPublicShare:
149149
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
150150
)
151151

152-
@pytest.mark.skip()
152+
@pytest.mark.skip(reason="Prism tests are disabled")
153153
@parametrize
154154
async def test_method_create(self, async_client: AsyncBrowserUse) -> None:
155155
public_share = await async_client.sessions.public_share.create(
156156
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
157157
)
158158
assert_matches_type(ShareView, public_share, path=["response"])
159159

160-
@pytest.mark.skip()
160+
@pytest.mark.skip(reason="Prism tests are disabled")
161161
@parametrize
162162
async def test_raw_response_create(self, async_client: AsyncBrowserUse) -> None:
163163
response = await async_client.sessions.public_share.with_raw_response.create(
@@ -169,7 +169,7 @@ async def test_raw_response_create(self, async_client: AsyncBrowserUse) -> None:
169169
public_share = await response.parse()
170170
assert_matches_type(ShareView, public_share, path=["response"])
171171

172-
@pytest.mark.skip()
172+
@pytest.mark.skip(reason="Prism tests are disabled")
173173
@parametrize
174174
async def test_streaming_response_create(self, async_client: AsyncBrowserUse) -> None:
175175
async with async_client.sessions.public_share.with_streaming_response.create(
@@ -183,23 +183,23 @@ async def test_streaming_response_create(self, async_client: AsyncBrowserUse) ->
183183

184184
assert cast(Any, response.is_closed) is True
185185

186-
@pytest.mark.skip()
186+
@pytest.mark.skip(reason="Prism tests are disabled")
187187
@parametrize
188188
async def test_path_params_create(self, async_client: AsyncBrowserUse) -> None:
189189
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
190190
await async_client.sessions.public_share.with_raw_response.create(
191191
"",
192192
)
193193

194-
@pytest.mark.skip()
194+
@pytest.mark.skip(reason="Prism tests are disabled")
195195
@parametrize
196196
async def test_method_retrieve(self, async_client: AsyncBrowserUse) -> None:
197197
public_share = await async_client.sessions.public_share.retrieve(
198198
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
199199
)
200200
assert_matches_type(ShareView, public_share, path=["response"])
201201

202-
@pytest.mark.skip()
202+
@pytest.mark.skip(reason="Prism tests are disabled")
203203
@parametrize
204204
async def test_raw_response_retrieve(self, async_client: AsyncBrowserUse) -> None:
205205
response = await async_client.sessions.public_share.with_raw_response.retrieve(
@@ -211,7 +211,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncBrowserUse) -> Non
211211
public_share = await response.parse()
212212
assert_matches_type(ShareView, public_share, path=["response"])
213213

214-
@pytest.mark.skip()
214+
@pytest.mark.skip(reason="Prism tests are disabled")
215215
@parametrize
216216
async def test_streaming_response_retrieve(self, async_client: AsyncBrowserUse) -> None:
217217
async with async_client.sessions.public_share.with_streaming_response.retrieve(
@@ -225,23 +225,23 @@ async def test_streaming_response_retrieve(self, async_client: AsyncBrowserUse)
225225

226226
assert cast(Any, response.is_closed) is True
227227

228-
@pytest.mark.skip()
228+
@pytest.mark.skip(reason="Prism tests are disabled")
229229
@parametrize
230230
async def test_path_params_retrieve(self, async_client: AsyncBrowserUse) -> None:
231231
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
232232
await async_client.sessions.public_share.with_raw_response.retrieve(
233233
"",
234234
)
235235

236-
@pytest.mark.skip()
236+
@pytest.mark.skip(reason="Prism tests are disabled")
237237
@parametrize
238238
async def test_method_delete(self, async_client: AsyncBrowserUse) -> None:
239239
public_share = await async_client.sessions.public_share.delete(
240240
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
241241
)
242242
assert_matches_type(object, public_share, path=["response"])
243243

244-
@pytest.mark.skip()
244+
@pytest.mark.skip(reason="Prism tests are disabled")
245245
@parametrize
246246
async def test_raw_response_delete(self, async_client: AsyncBrowserUse) -> None:
247247
response = await async_client.sessions.public_share.with_raw_response.delete(
@@ -253,7 +253,7 @@ async def test_raw_response_delete(self, async_client: AsyncBrowserUse) -> None:
253253
public_share = await response.parse()
254254
assert_matches_type(object, public_share, path=["response"])
255255

256-
@pytest.mark.skip()
256+
@pytest.mark.skip(reason="Prism tests are disabled")
257257
@parametrize
258258
async def test_streaming_response_delete(self, async_client: AsyncBrowserUse) -> None:
259259
async with async_client.sessions.public_share.with_streaming_response.delete(
@@ -267,7 +267,7 @@ async def test_streaming_response_delete(self, async_client: AsyncBrowserUse) ->
267267

268268
assert cast(Any, response.is_closed) is True
269269

270-
@pytest.mark.skip()
270+
@pytest.mark.skip(reason="Prism tests are disabled")
271271
@parametrize
272272
async def test_path_params_delete(self, async_client: AsyncBrowserUse) -> None:
273273
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):

0 commit comments

Comments
 (0)