17
17
class TestPublicShare :
18
18
parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
19
19
20
- @pytest .mark .skip ()
20
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
21
21
@parametrize
22
22
def test_method_create (self , client : BrowserUse ) -> None :
23
23
public_share = client .sessions .public_share .create (
24
24
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
25
25
)
26
26
assert_matches_type (ShareView , public_share , path = ["response" ])
27
27
28
- @pytest .mark .skip ()
28
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
29
29
@parametrize
30
30
def test_raw_response_create (self , client : BrowserUse ) -> None :
31
31
response = client .sessions .public_share .with_raw_response .create (
@@ -37,7 +37,7 @@ def test_raw_response_create(self, client: BrowserUse) -> None:
37
37
public_share = response .parse ()
38
38
assert_matches_type (ShareView , public_share , path = ["response" ])
39
39
40
- @pytest .mark .skip ()
40
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
41
41
@parametrize
42
42
def test_streaming_response_create (self , client : BrowserUse ) -> None :
43
43
with client .sessions .public_share .with_streaming_response .create (
@@ -51,23 +51,23 @@ def test_streaming_response_create(self, client: BrowserUse) -> None:
51
51
52
52
assert cast (Any , response .is_closed ) is True
53
53
54
- @pytest .mark .skip ()
54
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
55
55
@parametrize
56
56
def test_path_params_create (self , client : BrowserUse ) -> None :
57
57
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
58
58
client .sessions .public_share .with_raw_response .create (
59
59
"" ,
60
60
)
61
61
62
- @pytest .mark .skip ()
62
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
63
63
@parametrize
64
64
def test_method_retrieve (self , client : BrowserUse ) -> None :
65
65
public_share = client .sessions .public_share .retrieve (
66
66
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
67
67
)
68
68
assert_matches_type (ShareView , public_share , path = ["response" ])
69
69
70
- @pytest .mark .skip ()
70
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
71
71
@parametrize
72
72
def test_raw_response_retrieve (self , client : BrowserUse ) -> None :
73
73
response = client .sessions .public_share .with_raw_response .retrieve (
@@ -79,7 +79,7 @@ def test_raw_response_retrieve(self, client: BrowserUse) -> None:
79
79
public_share = response .parse ()
80
80
assert_matches_type (ShareView , public_share , path = ["response" ])
81
81
82
- @pytest .mark .skip ()
82
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
83
83
@parametrize
84
84
def test_streaming_response_retrieve (self , client : BrowserUse ) -> None :
85
85
with client .sessions .public_share .with_streaming_response .retrieve (
@@ -93,23 +93,23 @@ def test_streaming_response_retrieve(self, client: BrowserUse) -> None:
93
93
94
94
assert cast (Any , response .is_closed ) is True
95
95
96
- @pytest .mark .skip ()
96
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
97
97
@parametrize
98
98
def test_path_params_retrieve (self , client : BrowserUse ) -> None :
99
99
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
100
100
client .sessions .public_share .with_raw_response .retrieve (
101
101
"" ,
102
102
)
103
103
104
- @pytest .mark .skip ()
104
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
105
105
@parametrize
106
106
def test_method_delete (self , client : BrowserUse ) -> None :
107
107
public_share = client .sessions .public_share .delete (
108
108
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
109
109
)
110
110
assert_matches_type (object , public_share , path = ["response" ])
111
111
112
- @pytest .mark .skip ()
112
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
113
113
@parametrize
114
114
def test_raw_response_delete (self , client : BrowserUse ) -> None :
115
115
response = client .sessions .public_share .with_raw_response .delete (
@@ -121,7 +121,7 @@ def test_raw_response_delete(self, client: BrowserUse) -> None:
121
121
public_share = response .parse ()
122
122
assert_matches_type (object , public_share , path = ["response" ])
123
123
124
- @pytest .mark .skip ()
124
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
125
125
@parametrize
126
126
def test_streaming_response_delete (self , client : BrowserUse ) -> None :
127
127
with client .sessions .public_share .with_streaming_response .delete (
@@ -135,7 +135,7 @@ def test_streaming_response_delete(self, client: BrowserUse) -> None:
135
135
136
136
assert cast (Any , response .is_closed ) is True
137
137
138
- @pytest .mark .skip ()
138
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
139
139
@parametrize
140
140
def test_path_params_delete (self , client : BrowserUse ) -> None :
141
141
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
@@ -149,15 +149,15 @@ class TestAsyncPublicShare:
149
149
"async_client" , [False , True , {"http_client" : "aiohttp" }], indirect = True , ids = ["loose" , "strict" , "aiohttp" ]
150
150
)
151
151
152
- @pytest .mark .skip ()
152
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
153
153
@parametrize
154
154
async def test_method_create (self , async_client : AsyncBrowserUse ) -> None :
155
155
public_share = await async_client .sessions .public_share .create (
156
156
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
157
157
)
158
158
assert_matches_type (ShareView , public_share , path = ["response" ])
159
159
160
- @pytest .mark .skip ()
160
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
161
161
@parametrize
162
162
async def test_raw_response_create (self , async_client : AsyncBrowserUse ) -> None :
163
163
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:
169
169
public_share = await response .parse ()
170
170
assert_matches_type (ShareView , public_share , path = ["response" ])
171
171
172
- @pytest .mark .skip ()
172
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
173
173
@parametrize
174
174
async def test_streaming_response_create (self , async_client : AsyncBrowserUse ) -> None :
175
175
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) ->
183
183
184
184
assert cast (Any , response .is_closed ) is True
185
185
186
- @pytest .mark .skip ()
186
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
187
187
@parametrize
188
188
async def test_path_params_create (self , async_client : AsyncBrowserUse ) -> None :
189
189
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
190
190
await async_client .sessions .public_share .with_raw_response .create (
191
191
"" ,
192
192
)
193
193
194
- @pytest .mark .skip ()
194
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
195
195
@parametrize
196
196
async def test_method_retrieve (self , async_client : AsyncBrowserUse ) -> None :
197
197
public_share = await async_client .sessions .public_share .retrieve (
198
198
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
199
199
)
200
200
assert_matches_type (ShareView , public_share , path = ["response" ])
201
201
202
- @pytest .mark .skip ()
202
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
203
203
@parametrize
204
204
async def test_raw_response_retrieve (self , async_client : AsyncBrowserUse ) -> None :
205
205
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
211
211
public_share = await response .parse ()
212
212
assert_matches_type (ShareView , public_share , path = ["response" ])
213
213
214
- @pytest .mark .skip ()
214
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
215
215
@parametrize
216
216
async def test_streaming_response_retrieve (self , async_client : AsyncBrowserUse ) -> None :
217
217
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)
225
225
226
226
assert cast (Any , response .is_closed ) is True
227
227
228
- @pytest .mark .skip ()
228
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
229
229
@parametrize
230
230
async def test_path_params_retrieve (self , async_client : AsyncBrowserUse ) -> None :
231
231
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
232
232
await async_client .sessions .public_share .with_raw_response .retrieve (
233
233
"" ,
234
234
)
235
235
236
- @pytest .mark .skip ()
236
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
237
237
@parametrize
238
238
async def test_method_delete (self , async_client : AsyncBrowserUse ) -> None :
239
239
public_share = await async_client .sessions .public_share .delete (
240
240
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
241
241
)
242
242
assert_matches_type (object , public_share , path = ["response" ])
243
243
244
- @pytest .mark .skip ()
244
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
245
245
@parametrize
246
246
async def test_raw_response_delete (self , async_client : AsyncBrowserUse ) -> None :
247
247
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:
253
253
public_share = await response .parse ()
254
254
assert_matches_type (object , public_share , path = ["response" ])
255
255
256
- @pytest .mark .skip ()
256
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
257
257
@parametrize
258
258
async def test_streaming_response_delete (self , async_client : AsyncBrowserUse ) -> None :
259
259
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) ->
267
267
268
268
assert cast (Any , response .is_closed ) is True
269
269
270
- @pytest .mark .skip ()
270
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
271
271
@parametrize
272
272
async def test_path_params_delete (self , async_client : AsyncBrowserUse ) -> None :
273
273
with pytest .raises (ValueError , match = r"Expected a non-empty value for `session_id` but received ''" ):
0 commit comments