17
17
class TestCompletions :
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_overload_1 (self , client : Gradient ) -> None :
23
23
completion = client .agents .chat .completions .create (
@@ -31,7 +31,7 @@ def test_method_create_overload_1(self, client: Gradient) -> None:
31
31
)
32
32
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
33
33
34
- @pytest .mark .skip ()
34
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
35
35
@parametrize
36
36
def test_method_create_with_all_params_overload_1 (self , client : Gradient ) -> None :
37
37
completion = client .agents .chat .completions .create (
@@ -71,7 +71,7 @@ def test_method_create_with_all_params_overload_1(self, client: Gradient) -> Non
71
71
)
72
72
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
73
73
74
- @pytest .mark .skip ()
74
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
75
75
@parametrize
76
76
def test_raw_response_create_overload_1 (self , client : Gradient ) -> None :
77
77
response = client .agents .chat .completions .with_raw_response .create (
@@ -89,7 +89,7 @@ def test_raw_response_create_overload_1(self, client: Gradient) -> None:
89
89
completion = response .parse ()
90
90
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
91
91
92
- @pytest .mark .skip ()
92
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
93
93
@parametrize
94
94
def test_streaming_response_create_overload_1 (self , client : Gradient ) -> None :
95
95
with client .agents .chat .completions .with_streaming_response .create (
@@ -109,7 +109,7 @@ def test_streaming_response_create_overload_1(self, client: Gradient) -> None:
109
109
110
110
assert cast (Any , response .is_closed ) is True
111
111
112
- @pytest .mark .skip ()
112
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
113
113
@parametrize
114
114
def test_method_create_overload_2 (self , client : Gradient ) -> None :
115
115
completion_stream = client .agents .chat .completions .create (
@@ -124,7 +124,7 @@ def test_method_create_overload_2(self, client: Gradient) -> None:
124
124
)
125
125
completion_stream .response .close ()
126
126
127
- @pytest .mark .skip ()
127
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
128
128
@parametrize
129
129
def test_method_create_with_all_params_overload_2 (self , client : Gradient ) -> None :
130
130
completion_stream = client .agents .chat .completions .create (
@@ -164,7 +164,7 @@ def test_method_create_with_all_params_overload_2(self, client: Gradient) -> Non
164
164
)
165
165
completion_stream .response .close ()
166
166
167
- @pytest .mark .skip ()
167
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
168
168
@parametrize
169
169
def test_raw_response_create_overload_2 (self , client : Gradient ) -> None :
170
170
response = client .agents .chat .completions .with_raw_response .create (
@@ -182,7 +182,7 @@ def test_raw_response_create_overload_2(self, client: Gradient) -> None:
182
182
stream = response .parse ()
183
183
stream .close ()
184
184
185
- @pytest .mark .skip ()
185
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
186
186
@parametrize
187
187
def test_streaming_response_create_overload_2 (self , client : Gradient ) -> None :
188
188
with client .agents .chat .completions .with_streaming_response .create (
@@ -212,7 +212,7 @@ class TestAsyncCompletions:
212
212
ids = ["loose" , "strict" , "aiohttp" ],
213
213
)
214
214
215
- @pytest .mark .skip ()
215
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
216
216
@parametrize
217
217
async def test_method_create_overload_1 (self , async_client : AsyncGradient ) -> None :
218
218
completion = await async_client .agents .chat .completions .create (
@@ -226,7 +226,7 @@ async def test_method_create_overload_1(self, async_client: AsyncGradient) -> No
226
226
)
227
227
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
228
228
229
- @pytest .mark .skip ()
229
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
230
230
@parametrize
231
231
async def test_method_create_with_all_params_overload_1 (self , async_client : AsyncGradient ) -> None :
232
232
completion = await async_client .agents .chat .completions .create (
@@ -266,7 +266,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
266
266
)
267
267
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
268
268
269
- @pytest .mark .skip ()
269
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
270
270
@parametrize
271
271
async def test_raw_response_create_overload_1 (self , async_client : AsyncGradient ) -> None :
272
272
response = await async_client .agents .chat .completions .with_raw_response .create (
@@ -284,7 +284,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncGradient)
284
284
completion = await response .parse ()
285
285
assert_matches_type (CompletionCreateResponse , completion , path = ["response" ])
286
286
287
- @pytest .mark .skip ()
287
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
288
288
@parametrize
289
289
async def test_streaming_response_create_overload_1 (self , async_client : AsyncGradient ) -> None :
290
290
async with async_client .agents .chat .completions .with_streaming_response .create (
@@ -304,7 +304,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncGra
304
304
305
305
assert cast (Any , response .is_closed ) is True
306
306
307
- @pytest .mark .skip ()
307
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
308
308
@parametrize
309
309
async def test_method_create_overload_2 (self , async_client : AsyncGradient ) -> None :
310
310
completion_stream = await async_client .agents .chat .completions .create (
@@ -319,7 +319,7 @@ async def test_method_create_overload_2(self, async_client: AsyncGradient) -> No
319
319
)
320
320
await completion_stream .response .aclose ()
321
321
322
- @pytest .mark .skip ()
322
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
323
323
@parametrize
324
324
async def test_method_create_with_all_params_overload_2 (self , async_client : AsyncGradient ) -> None :
325
325
completion_stream = await async_client .agents .chat .completions .create (
@@ -359,7 +359,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
359
359
)
360
360
await completion_stream .response .aclose ()
361
361
362
- @pytest .mark .skip ()
362
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
363
363
@parametrize
364
364
async def test_raw_response_create_overload_2 (self , async_client : AsyncGradient ) -> None :
365
365
response = await async_client .agents .chat .completions .with_raw_response .create (
@@ -377,7 +377,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncGradient)
377
377
stream = await response .parse ()
378
378
await stream .close ()
379
379
380
- @pytest .mark .skip ()
380
+ @pytest .mark .skip (reason = "Prism tests are disabled" )
381
381
@parametrize
382
382
async def test_streaming_response_create_overload_2 (self , async_client : AsyncGradient ) -> None :
383
383
async with async_client .agents .chat .completions .with_streaming_response .create (
0 commit comments