Skip to content

Commit 2f8fbc4

Browse files
chore(internal): codegen related update
1 parent 103820e commit 2f8fbc4

File tree

3 files changed

+128
-128
lines changed

3 files changed

+128
-128
lines changed

tests/api_resources/test_workers.py

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
class TestWorkers:
2323
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2424

25-
@pytest.mark.skip()
25+
@pytest.mark.skip(reason="Prism tests are disabled")
2626
@parametrize
2727
def test_method_create(self, client: Brainbase) -> None:
2828
worker = client.workers.create(
2929
name="name",
3030
)
3131
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
3232

33-
@pytest.mark.skip()
33+
@pytest.mark.skip(reason="Prism tests are disabled")
3434
@parametrize
3535
def test_method_create_with_all_params(self, client: Brainbase) -> None:
3636
worker = client.workers.create(
@@ -39,7 +39,7 @@ def test_method_create_with_all_params(self, client: Brainbase) -> None:
3939
)
4040
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
4141

42-
@pytest.mark.skip()
42+
@pytest.mark.skip(reason="Prism tests are disabled")
4343
@parametrize
4444
def test_raw_response_create(self, client: Brainbase) -> None:
4545
response = client.workers.with_raw_response.create(
@@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Brainbase) -> None:
5151
worker = response.parse()
5252
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
5353

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_streaming_response_create(self, client: Brainbase) -> None:
5757
with client.workers.with_streaming_response.create(
@@ -65,15 +65,15 @@ def test_streaming_response_create(self, client: Brainbase) -> None:
6565

6666
assert cast(Any, response.is_closed) is True
6767

68-
@pytest.mark.skip()
68+
@pytest.mark.skip(reason="Prism tests are disabled")
6969
@parametrize
7070
def test_method_retrieve(self, client: Brainbase) -> None:
7171
worker = client.workers.retrieve(
7272
"id",
7373
)
7474
assert_matches_type(WorkerRetrieveResponse, worker, path=["response"])
7575

76-
@pytest.mark.skip()
76+
@pytest.mark.skip(reason="Prism tests are disabled")
7777
@parametrize
7878
def test_raw_response_retrieve(self, client: Brainbase) -> None:
7979
response = client.workers.with_raw_response.retrieve(
@@ -85,7 +85,7 @@ def test_raw_response_retrieve(self, client: Brainbase) -> None:
8585
worker = response.parse()
8686
assert_matches_type(WorkerRetrieveResponse, worker, path=["response"])
8787

88-
@pytest.mark.skip()
88+
@pytest.mark.skip(reason="Prism tests are disabled")
8989
@parametrize
9090
def test_streaming_response_retrieve(self, client: Brainbase) -> None:
9191
with client.workers.with_streaming_response.retrieve(
@@ -99,23 +99,23 @@ def test_streaming_response_retrieve(self, client: Brainbase) -> None:
9999

100100
assert cast(Any, response.is_closed) is True
101101

102-
@pytest.mark.skip()
102+
@pytest.mark.skip(reason="Prism tests are disabled")
103103
@parametrize
104104
def test_path_params_retrieve(self, client: Brainbase) -> None:
105105
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
106106
client.workers.with_raw_response.retrieve(
107107
"",
108108
)
109109

110-
@pytest.mark.skip()
110+
@pytest.mark.skip(reason="Prism tests are disabled")
111111
@parametrize
112112
def test_method_update(self, client: Brainbase) -> None:
113113
worker = client.workers.update(
114114
id="id",
115115
)
116116
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
117117

118-
@pytest.mark.skip()
118+
@pytest.mark.skip(reason="Prism tests are disabled")
119119
@parametrize
120120
def test_method_update_with_all_params(self, client: Brainbase) -> None:
121121
worker = client.workers.update(
@@ -125,7 +125,7 @@ def test_method_update_with_all_params(self, client: Brainbase) -> None:
125125
)
126126
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
127127

128-
@pytest.mark.skip()
128+
@pytest.mark.skip(reason="Prism tests are disabled")
129129
@parametrize
130130
def test_raw_response_update(self, client: Brainbase) -> None:
131131
response = client.workers.with_raw_response.update(
@@ -137,7 +137,7 @@ def test_raw_response_update(self, client: Brainbase) -> None:
137137
worker = response.parse()
138138
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
139139

140-
@pytest.mark.skip()
140+
@pytest.mark.skip(reason="Prism tests are disabled")
141141
@parametrize
142142
def test_streaming_response_update(self, client: Brainbase) -> None:
143143
with client.workers.with_streaming_response.update(
@@ -151,21 +151,21 @@ def test_streaming_response_update(self, client: Brainbase) -> None:
151151

152152
assert cast(Any, response.is_closed) is True
153153

154-
@pytest.mark.skip()
154+
@pytest.mark.skip(reason="Prism tests are disabled")
155155
@parametrize
156156
def test_path_params_update(self, client: Brainbase) -> None:
157157
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
158158
client.workers.with_raw_response.update(
159159
id="",
160160
)
161161

162-
@pytest.mark.skip()
162+
@pytest.mark.skip(reason="Prism tests are disabled")
163163
@parametrize
164164
def test_method_list(self, client: Brainbase) -> None:
165165
worker = client.workers.list()
166166
assert_matches_type(WorkerListResponse, worker, path=["response"])
167167

168-
@pytest.mark.skip()
168+
@pytest.mark.skip(reason="Prism tests are disabled")
169169
@parametrize
170170
def test_raw_response_list(self, client: Brainbase) -> None:
171171
response = client.workers.with_raw_response.list()
@@ -175,7 +175,7 @@ def test_raw_response_list(self, client: Brainbase) -> None:
175175
worker = response.parse()
176176
assert_matches_type(WorkerListResponse, worker, path=["response"])
177177

178-
@pytest.mark.skip()
178+
@pytest.mark.skip(reason="Prism tests are disabled")
179179
@parametrize
180180
def test_streaming_response_list(self, client: Brainbase) -> None:
181181
with client.workers.with_streaming_response.list() as response:
@@ -187,15 +187,15 @@ def test_streaming_response_list(self, client: Brainbase) -> None:
187187

188188
assert cast(Any, response.is_closed) is True
189189

190-
@pytest.mark.skip()
190+
@pytest.mark.skip(reason="Prism tests are disabled")
191191
@parametrize
192192
def test_method_delete(self, client: Brainbase) -> None:
193193
worker = client.workers.delete(
194194
"id",
195195
)
196196
assert worker is None
197197

198-
@pytest.mark.skip()
198+
@pytest.mark.skip(reason="Prism tests are disabled")
199199
@parametrize
200200
def test_raw_response_delete(self, client: Brainbase) -> None:
201201
response = client.workers.with_raw_response.delete(
@@ -207,7 +207,7 @@ def test_raw_response_delete(self, client: Brainbase) -> None:
207207
worker = response.parse()
208208
assert worker is None
209209

210-
@pytest.mark.skip()
210+
@pytest.mark.skip(reason="Prism tests are disabled")
211211
@parametrize
212212
def test_streaming_response_delete(self, client: Brainbase) -> None:
213213
with client.workers.with_streaming_response.delete(
@@ -221,7 +221,7 @@ def test_streaming_response_delete(self, client: Brainbase) -> None:
221221

222222
assert cast(Any, response.is_closed) is True
223223

224-
@pytest.mark.skip()
224+
@pytest.mark.skip(reason="Prism tests are disabled")
225225
@parametrize
226226
def test_path_params_delete(self, client: Brainbase) -> None:
227227
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -235,15 +235,15 @@ class TestAsyncWorkers:
235235
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
236236
)
237237

238-
@pytest.mark.skip()
238+
@pytest.mark.skip(reason="Prism tests are disabled")
239239
@parametrize
240240
async def test_method_create(self, async_client: AsyncBrainbase) -> None:
241241
worker = await async_client.workers.create(
242242
name="name",
243243
)
244244
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
245245

246-
@pytest.mark.skip()
246+
@pytest.mark.skip(reason="Prism tests are disabled")
247247
@parametrize
248248
async def test_method_create_with_all_params(self, async_client: AsyncBrainbase) -> None:
249249
worker = await async_client.workers.create(
@@ -252,7 +252,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncBrainbase)
252252
)
253253
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
254254

255-
@pytest.mark.skip()
255+
@pytest.mark.skip(reason="Prism tests are disabled")
256256
@parametrize
257257
async def test_raw_response_create(self, async_client: AsyncBrainbase) -> None:
258258
response = await async_client.workers.with_raw_response.create(
@@ -264,7 +264,7 @@ async def test_raw_response_create(self, async_client: AsyncBrainbase) -> None:
264264
worker = await response.parse()
265265
assert_matches_type(WorkerCreateResponse, worker, path=["response"])
266266

267-
@pytest.mark.skip()
267+
@pytest.mark.skip(reason="Prism tests are disabled")
268268
@parametrize
269269
async def test_streaming_response_create(self, async_client: AsyncBrainbase) -> None:
270270
async with async_client.workers.with_streaming_response.create(
@@ -278,15 +278,15 @@ async def test_streaming_response_create(self, async_client: AsyncBrainbase) ->
278278

279279
assert cast(Any, response.is_closed) is True
280280

281-
@pytest.mark.skip()
281+
@pytest.mark.skip(reason="Prism tests are disabled")
282282
@parametrize
283283
async def test_method_retrieve(self, async_client: AsyncBrainbase) -> None:
284284
worker = await async_client.workers.retrieve(
285285
"id",
286286
)
287287
assert_matches_type(WorkerRetrieveResponse, worker, path=["response"])
288288

289-
@pytest.mark.skip()
289+
@pytest.mark.skip(reason="Prism tests are disabled")
290290
@parametrize
291291
async def test_raw_response_retrieve(self, async_client: AsyncBrainbase) -> None:
292292
response = await async_client.workers.with_raw_response.retrieve(
@@ -298,7 +298,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncBrainbase) -> None
298298
worker = await response.parse()
299299
assert_matches_type(WorkerRetrieveResponse, worker, path=["response"])
300300

301-
@pytest.mark.skip()
301+
@pytest.mark.skip(reason="Prism tests are disabled")
302302
@parametrize
303303
async def test_streaming_response_retrieve(self, async_client: AsyncBrainbase) -> None:
304304
async with async_client.workers.with_streaming_response.retrieve(
@@ -312,23 +312,23 @@ async def test_streaming_response_retrieve(self, async_client: AsyncBrainbase) -
312312

313313
assert cast(Any, response.is_closed) is True
314314

315-
@pytest.mark.skip()
315+
@pytest.mark.skip(reason="Prism tests are disabled")
316316
@parametrize
317317
async def test_path_params_retrieve(self, async_client: AsyncBrainbase) -> None:
318318
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
319319
await async_client.workers.with_raw_response.retrieve(
320320
"",
321321
)
322322

323-
@pytest.mark.skip()
323+
@pytest.mark.skip(reason="Prism tests are disabled")
324324
@parametrize
325325
async def test_method_update(self, async_client: AsyncBrainbase) -> None:
326326
worker = await async_client.workers.update(
327327
id="id",
328328
)
329329
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
330330

331-
@pytest.mark.skip()
331+
@pytest.mark.skip(reason="Prism tests are disabled")
332332
@parametrize
333333
async def test_method_update_with_all_params(self, async_client: AsyncBrainbase) -> None:
334334
worker = await async_client.workers.update(
@@ -338,7 +338,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncBrainbase)
338338
)
339339
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
340340

341-
@pytest.mark.skip()
341+
@pytest.mark.skip(reason="Prism tests are disabled")
342342
@parametrize
343343
async def test_raw_response_update(self, async_client: AsyncBrainbase) -> None:
344344
response = await async_client.workers.with_raw_response.update(
@@ -350,7 +350,7 @@ async def test_raw_response_update(self, async_client: AsyncBrainbase) -> None:
350350
worker = await response.parse()
351351
assert_matches_type(WorkerUpdateResponse, worker, path=["response"])
352352

353-
@pytest.mark.skip()
353+
@pytest.mark.skip(reason="Prism tests are disabled")
354354
@parametrize
355355
async def test_streaming_response_update(self, async_client: AsyncBrainbase) -> None:
356356
async with async_client.workers.with_streaming_response.update(
@@ -364,21 +364,21 @@ async def test_streaming_response_update(self, async_client: AsyncBrainbase) ->
364364

365365
assert cast(Any, response.is_closed) is True
366366

367-
@pytest.mark.skip()
367+
@pytest.mark.skip(reason="Prism tests are disabled")
368368
@parametrize
369369
async def test_path_params_update(self, async_client: AsyncBrainbase) -> None:
370370
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
371371
await async_client.workers.with_raw_response.update(
372372
id="",
373373
)
374374

375-
@pytest.mark.skip()
375+
@pytest.mark.skip(reason="Prism tests are disabled")
376376
@parametrize
377377
async def test_method_list(self, async_client: AsyncBrainbase) -> None:
378378
worker = await async_client.workers.list()
379379
assert_matches_type(WorkerListResponse, worker, path=["response"])
380380

381-
@pytest.mark.skip()
381+
@pytest.mark.skip(reason="Prism tests are disabled")
382382
@parametrize
383383
async def test_raw_response_list(self, async_client: AsyncBrainbase) -> None:
384384
response = await async_client.workers.with_raw_response.list()
@@ -388,7 +388,7 @@ async def test_raw_response_list(self, async_client: AsyncBrainbase) -> None:
388388
worker = await response.parse()
389389
assert_matches_type(WorkerListResponse, worker, path=["response"])
390390

391-
@pytest.mark.skip()
391+
@pytest.mark.skip(reason="Prism tests are disabled")
392392
@parametrize
393393
async def test_streaming_response_list(self, async_client: AsyncBrainbase) -> None:
394394
async with async_client.workers.with_streaming_response.list() as response:
@@ -400,15 +400,15 @@ async def test_streaming_response_list(self, async_client: AsyncBrainbase) -> No
400400

401401
assert cast(Any, response.is_closed) is True
402402

403-
@pytest.mark.skip()
403+
@pytest.mark.skip(reason="Prism tests are disabled")
404404
@parametrize
405405
async def test_method_delete(self, async_client: AsyncBrainbase) -> None:
406406
worker = await async_client.workers.delete(
407407
"id",
408408
)
409409
assert worker is None
410410

411-
@pytest.mark.skip()
411+
@pytest.mark.skip(reason="Prism tests are disabled")
412412
@parametrize
413413
async def test_raw_response_delete(self, async_client: AsyncBrainbase) -> None:
414414
response = await async_client.workers.with_raw_response.delete(
@@ -420,7 +420,7 @@ async def test_raw_response_delete(self, async_client: AsyncBrainbase) -> None:
420420
worker = await response.parse()
421421
assert worker is None
422422

423-
@pytest.mark.skip()
423+
@pytest.mark.skip(reason="Prism tests are disabled")
424424
@parametrize
425425
async def test_streaming_response_delete(self, async_client: AsyncBrainbase) -> None:
426426
async with async_client.workers.with_streaming_response.delete(
@@ -434,7 +434,7 @@ async def test_streaming_response_delete(self, async_client: AsyncBrainbase) ->
434434

435435
assert cast(Any, response.is_closed) is True
436436

437-
@pytest.mark.skip()
437+
@pytest.mark.skip(reason="Prism tests are disabled")
438438
@parametrize
439439
async def test_path_params_delete(self, async_client: AsyncBrainbase) -> None:
440440
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):

0 commit comments

Comments
 (0)