Skip to content

Commit 8f3a107

Browse files
chore: improve example values
1 parent d83b77a commit 8f3a107

25 files changed

+276
-276
lines changed

tests/api_resources/agents/evaluation_metrics/anthropic/test_keys.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ def test_streaming_response_create(self, client: Gradient) -> None:
6565
@parametrize
6666
def test_method_retrieve(self, client: Gradient) -> None:
6767
key = client.agents.evaluation_metrics.anthropic.keys.retrieve(
68-
"api_key_uuid",
68+
'"123e4567-e89b-12d3-a456-426614174000"',
6969
)
7070
assert_matches_type(KeyRetrieveResponse, key, path=["response"])
7171

7272
@pytest.mark.skip(reason="Prism tests are disabled")
7373
@parametrize
7474
def test_raw_response_retrieve(self, client: Gradient) -> None:
7575
response = client.agents.evaluation_metrics.anthropic.keys.with_raw_response.retrieve(
76-
"api_key_uuid",
76+
'"123e4567-e89b-12d3-a456-426614174000"',
7777
)
7878

7979
assert response.is_closed is True
@@ -85,7 +85,7 @@ def test_raw_response_retrieve(self, client: Gradient) -> None:
8585
@parametrize
8686
def test_streaming_response_retrieve(self, client: Gradient) -> None:
8787
with client.agents.evaluation_metrics.anthropic.keys.with_streaming_response.retrieve(
88-
"api_key_uuid",
88+
'"123e4567-e89b-12d3-a456-426614174000"',
8989
) as response:
9090
assert not response.is_closed
9191
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -197,15 +197,15 @@ def test_streaming_response_list(self, client: Gradient) -> None:
197197
@parametrize
198198
def test_method_delete(self, client: Gradient) -> None:
199199
key = client.agents.evaluation_metrics.anthropic.keys.delete(
200-
"api_key_uuid",
200+
'"123e4567-e89b-12d3-a456-426614174000"',
201201
)
202202
assert_matches_type(KeyDeleteResponse, key, path=["response"])
203203

204204
@pytest.mark.skip(reason="Prism tests are disabled")
205205
@parametrize
206206
def test_raw_response_delete(self, client: Gradient) -> None:
207207
response = client.agents.evaluation_metrics.anthropic.keys.with_raw_response.delete(
208-
"api_key_uuid",
208+
'"123e4567-e89b-12d3-a456-426614174000"',
209209
)
210210

211211
assert response.is_closed is True
@@ -217,7 +217,7 @@ def test_raw_response_delete(self, client: Gradient) -> None:
217217
@parametrize
218218
def test_streaming_response_delete(self, client: Gradient) -> None:
219219
with client.agents.evaluation_metrics.anthropic.keys.with_streaming_response.delete(
220-
"api_key_uuid",
220+
'"123e4567-e89b-12d3-a456-426614174000"',
221221
) as response:
222222
assert not response.is_closed
223223
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -334,15 +334,15 @@ async def test_streaming_response_create(self, async_client: AsyncGradient) -> N
334334
@parametrize
335335
async def test_method_retrieve(self, async_client: AsyncGradient) -> None:
336336
key = await async_client.agents.evaluation_metrics.anthropic.keys.retrieve(
337-
"api_key_uuid",
337+
'"123e4567-e89b-12d3-a456-426614174000"',
338338
)
339339
assert_matches_type(KeyRetrieveResponse, key, path=["response"])
340340

341341
@pytest.mark.skip(reason="Prism tests are disabled")
342342
@parametrize
343343
async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
344344
response = await async_client.agents.evaluation_metrics.anthropic.keys.with_raw_response.retrieve(
345-
"api_key_uuid",
345+
'"123e4567-e89b-12d3-a456-426614174000"',
346346
)
347347

348348
assert response.is_closed is True
@@ -354,7 +354,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
354354
@parametrize
355355
async def test_streaming_response_retrieve(self, async_client: AsyncGradient) -> None:
356356
async with async_client.agents.evaluation_metrics.anthropic.keys.with_streaming_response.retrieve(
357-
"api_key_uuid",
357+
'"123e4567-e89b-12d3-a456-426614174000"',
358358
) as response:
359359
assert not response.is_closed
360360
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -466,15 +466,15 @@ async def test_streaming_response_list(self, async_client: AsyncGradient) -> Non
466466
@parametrize
467467
async def test_method_delete(self, async_client: AsyncGradient) -> None:
468468
key = await async_client.agents.evaluation_metrics.anthropic.keys.delete(
469-
"api_key_uuid",
469+
'"123e4567-e89b-12d3-a456-426614174000"',
470470
)
471471
assert_matches_type(KeyDeleteResponse, key, path=["response"])
472472

473473
@pytest.mark.skip(reason="Prism tests are disabled")
474474
@parametrize
475475
async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
476476
response = await async_client.agents.evaluation_metrics.anthropic.keys.with_raw_response.delete(
477-
"api_key_uuid",
477+
'"123e4567-e89b-12d3-a456-426614174000"',
478478
)
479479

480480
assert response.is_closed is True
@@ -486,7 +486,7 @@ async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
486486
@parametrize
487487
async def test_streaming_response_delete(self, async_client: AsyncGradient) -> None:
488488
async with async_client.agents.evaluation_metrics.anthropic.keys.with_streaming_response.delete(
489-
"api_key_uuid",
489+
'"123e4567-e89b-12d3-a456-426614174000"',
490490
) as response:
491491
assert not response.is_closed
492492
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/agents/evaluation_metrics/openai/test_keys.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ def test_streaming_response_create(self, client: Gradient) -> None:
6565
@parametrize
6666
def test_method_retrieve(self, client: Gradient) -> None:
6767
key = client.agents.evaluation_metrics.openai.keys.retrieve(
68-
"api_key_uuid",
68+
'"123e4567-e89b-12d3-a456-426614174000"',
6969
)
7070
assert_matches_type(KeyRetrieveResponse, key, path=["response"])
7171

7272
@pytest.mark.skip(reason="Prism tests are disabled")
7373
@parametrize
7474
def test_raw_response_retrieve(self, client: Gradient) -> None:
7575
response = client.agents.evaluation_metrics.openai.keys.with_raw_response.retrieve(
76-
"api_key_uuid",
76+
'"123e4567-e89b-12d3-a456-426614174000"',
7777
)
7878

7979
assert response.is_closed is True
@@ -85,7 +85,7 @@ def test_raw_response_retrieve(self, client: Gradient) -> None:
8585
@parametrize
8686
def test_streaming_response_retrieve(self, client: Gradient) -> None:
8787
with client.agents.evaluation_metrics.openai.keys.with_streaming_response.retrieve(
88-
"api_key_uuid",
88+
'"123e4567-e89b-12d3-a456-426614174000"',
8989
) as response:
9090
assert not response.is_closed
9191
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -197,15 +197,15 @@ def test_streaming_response_list(self, client: Gradient) -> None:
197197
@parametrize
198198
def test_method_delete(self, client: Gradient) -> None:
199199
key = client.agents.evaluation_metrics.openai.keys.delete(
200-
"api_key_uuid",
200+
'"123e4567-e89b-12d3-a456-426614174000"',
201201
)
202202
assert_matches_type(KeyDeleteResponse, key, path=["response"])
203203

204204
@pytest.mark.skip(reason="Prism tests are disabled")
205205
@parametrize
206206
def test_raw_response_delete(self, client: Gradient) -> None:
207207
response = client.agents.evaluation_metrics.openai.keys.with_raw_response.delete(
208-
"api_key_uuid",
208+
'"123e4567-e89b-12d3-a456-426614174000"',
209209
)
210210

211211
assert response.is_closed is True
@@ -217,7 +217,7 @@ def test_raw_response_delete(self, client: Gradient) -> None:
217217
@parametrize
218218
def test_streaming_response_delete(self, client: Gradient) -> None:
219219
with client.agents.evaluation_metrics.openai.keys.with_streaming_response.delete(
220-
"api_key_uuid",
220+
'"123e4567-e89b-12d3-a456-426614174000"',
221221
) as response:
222222
assert not response.is_closed
223223
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -334,15 +334,15 @@ async def test_streaming_response_create(self, async_client: AsyncGradient) -> N
334334
@parametrize
335335
async def test_method_retrieve(self, async_client: AsyncGradient) -> None:
336336
key = await async_client.agents.evaluation_metrics.openai.keys.retrieve(
337-
"api_key_uuid",
337+
'"123e4567-e89b-12d3-a456-426614174000"',
338338
)
339339
assert_matches_type(KeyRetrieveResponse, key, path=["response"])
340340

341341
@pytest.mark.skip(reason="Prism tests are disabled")
342342
@parametrize
343343
async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
344344
response = await async_client.agents.evaluation_metrics.openai.keys.with_raw_response.retrieve(
345-
"api_key_uuid",
345+
'"123e4567-e89b-12d3-a456-426614174000"',
346346
)
347347

348348
assert response.is_closed is True
@@ -354,7 +354,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
354354
@parametrize
355355
async def test_streaming_response_retrieve(self, async_client: AsyncGradient) -> None:
356356
async with async_client.agents.evaluation_metrics.openai.keys.with_streaming_response.retrieve(
357-
"api_key_uuid",
357+
'"123e4567-e89b-12d3-a456-426614174000"',
358358
) as response:
359359
assert not response.is_closed
360360
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -466,15 +466,15 @@ async def test_streaming_response_list(self, async_client: AsyncGradient) -> Non
466466
@parametrize
467467
async def test_method_delete(self, async_client: AsyncGradient) -> None:
468468
key = await async_client.agents.evaluation_metrics.openai.keys.delete(
469-
"api_key_uuid",
469+
'"123e4567-e89b-12d3-a456-426614174000"',
470470
)
471471
assert_matches_type(KeyDeleteResponse, key, path=["response"])
472472

473473
@pytest.mark.skip(reason="Prism tests are disabled")
474474
@parametrize
475475
async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
476476
response = await async_client.agents.evaluation_metrics.openai.keys.with_raw_response.delete(
477-
"api_key_uuid",
477+
'"123e4567-e89b-12d3-a456-426614174000"',
478478
)
479479

480480
assert response.is_closed is True
@@ -486,7 +486,7 @@ async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
486486
@parametrize
487487
async def test_streaming_response_delete(self, async_client: AsyncGradient) -> None:
488488
async with async_client.agents.evaluation_metrics.openai.keys.with_streaming_response.delete(
489-
"api_key_uuid",
489+
'"123e4567-e89b-12d3-a456-426614174000"',
490490
) as response:
491491
assert not response.is_closed
492492
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/agents/evaluation_metrics/test_workspaces.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ def test_streaming_response_create(self, client: Gradient) -> None:
6666
@parametrize
6767
def test_method_retrieve(self, client: Gradient) -> None:
6868
workspace = client.agents.evaluation_metrics.workspaces.retrieve(
69-
"workspace_uuid",
69+
'"123e4567-e89b-12d3-a456-426614174000"',
7070
)
7171
assert_matches_type(WorkspaceRetrieveResponse, workspace, path=["response"])
7272

7373
@pytest.mark.skip(reason="Prism tests are disabled")
7474
@parametrize
7575
def test_raw_response_retrieve(self, client: Gradient) -> None:
7676
response = client.agents.evaluation_metrics.workspaces.with_raw_response.retrieve(
77-
"workspace_uuid",
77+
'"123e4567-e89b-12d3-a456-426614174000"',
7878
)
7979

8080
assert response.is_closed is True
@@ -86,7 +86,7 @@ def test_raw_response_retrieve(self, client: Gradient) -> None:
8686
@parametrize
8787
def test_streaming_response_retrieve(self, client: Gradient) -> None:
8888
with client.agents.evaluation_metrics.workspaces.with_streaming_response.retrieve(
89-
"workspace_uuid",
89+
'"123e4567-e89b-12d3-a456-426614174000"',
9090
) as response:
9191
assert not response.is_closed
9292
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -189,15 +189,15 @@ def test_streaming_response_list(self, client: Gradient) -> None:
189189
@parametrize
190190
def test_method_delete(self, client: Gradient) -> None:
191191
workspace = client.agents.evaluation_metrics.workspaces.delete(
192-
"workspace_uuid",
192+
'"123e4567-e89b-12d3-a456-426614174000"',
193193
)
194194
assert_matches_type(WorkspaceDeleteResponse, workspace, path=["response"])
195195

196196
@pytest.mark.skip(reason="Prism tests are disabled")
197197
@parametrize
198198
def test_raw_response_delete(self, client: Gradient) -> None:
199199
response = client.agents.evaluation_metrics.workspaces.with_raw_response.delete(
200-
"workspace_uuid",
200+
'"123e4567-e89b-12d3-a456-426614174000"',
201201
)
202202

203203
assert response.is_closed is True
@@ -209,7 +209,7 @@ def test_raw_response_delete(self, client: Gradient) -> None:
209209
@parametrize
210210
def test_streaming_response_delete(self, client: Gradient) -> None:
211211
with client.agents.evaluation_metrics.workspaces.with_streaming_response.delete(
212-
"workspace_uuid",
212+
'"123e4567-e89b-12d3-a456-426614174000"',
213213
) as response:
214214
assert not response.is_closed
215215
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -231,15 +231,15 @@ def test_path_params_delete(self, client: Gradient) -> None:
231231
@parametrize
232232
def test_method_list_evaluation_test_cases(self, client: Gradient) -> None:
233233
workspace = client.agents.evaluation_metrics.workspaces.list_evaluation_test_cases(
234-
"workspace_uuid",
234+
'"123e4567-e89b-12d3-a456-426614174000"',
235235
)
236236
assert_matches_type(WorkspaceListEvaluationTestCasesResponse, workspace, path=["response"])
237237

238238
@pytest.mark.skip(reason="Prism tests are disabled")
239239
@parametrize
240240
def test_raw_response_list_evaluation_test_cases(self, client: Gradient) -> None:
241241
response = client.agents.evaluation_metrics.workspaces.with_raw_response.list_evaluation_test_cases(
242-
"workspace_uuid",
242+
'"123e4567-e89b-12d3-a456-426614174000"',
243243
)
244244

245245
assert response.is_closed is True
@@ -251,7 +251,7 @@ def test_raw_response_list_evaluation_test_cases(self, client: Gradient) -> None
251251
@parametrize
252252
def test_streaming_response_list_evaluation_test_cases(self, client: Gradient) -> None:
253253
with client.agents.evaluation_metrics.workspaces.with_streaming_response.list_evaluation_test_cases(
254-
"workspace_uuid",
254+
'"123e4567-e89b-12d3-a456-426614174000"',
255255
) as response:
256256
assert not response.is_closed
257257
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -317,15 +317,15 @@ async def test_streaming_response_create(self, async_client: AsyncGradient) -> N
317317
@parametrize
318318
async def test_method_retrieve(self, async_client: AsyncGradient) -> None:
319319
workspace = await async_client.agents.evaluation_metrics.workspaces.retrieve(
320-
"workspace_uuid",
320+
'"123e4567-e89b-12d3-a456-426614174000"',
321321
)
322322
assert_matches_type(WorkspaceRetrieveResponse, workspace, path=["response"])
323323

324324
@pytest.mark.skip(reason="Prism tests are disabled")
325325
@parametrize
326326
async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
327327
response = await async_client.agents.evaluation_metrics.workspaces.with_raw_response.retrieve(
328-
"workspace_uuid",
328+
'"123e4567-e89b-12d3-a456-426614174000"',
329329
)
330330

331331
assert response.is_closed is True
@@ -337,7 +337,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGradient) -> None:
337337
@parametrize
338338
async def test_streaming_response_retrieve(self, async_client: AsyncGradient) -> None:
339339
async with async_client.agents.evaluation_metrics.workspaces.with_streaming_response.retrieve(
340-
"workspace_uuid",
340+
'"123e4567-e89b-12d3-a456-426614174000"',
341341
) as response:
342342
assert not response.is_closed
343343
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -440,15 +440,15 @@ async def test_streaming_response_list(self, async_client: AsyncGradient) -> Non
440440
@parametrize
441441
async def test_method_delete(self, async_client: AsyncGradient) -> None:
442442
workspace = await async_client.agents.evaluation_metrics.workspaces.delete(
443-
"workspace_uuid",
443+
'"123e4567-e89b-12d3-a456-426614174000"',
444444
)
445445
assert_matches_type(WorkspaceDeleteResponse, workspace, path=["response"])
446446

447447
@pytest.mark.skip(reason="Prism tests are disabled")
448448
@parametrize
449449
async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
450450
response = await async_client.agents.evaluation_metrics.workspaces.with_raw_response.delete(
451-
"workspace_uuid",
451+
'"123e4567-e89b-12d3-a456-426614174000"',
452452
)
453453

454454
assert response.is_closed is True
@@ -460,7 +460,7 @@ async def test_raw_response_delete(self, async_client: AsyncGradient) -> None:
460460
@parametrize
461461
async def test_streaming_response_delete(self, async_client: AsyncGradient) -> None:
462462
async with async_client.agents.evaluation_metrics.workspaces.with_streaming_response.delete(
463-
"workspace_uuid",
463+
'"123e4567-e89b-12d3-a456-426614174000"',
464464
) as response:
465465
assert not response.is_closed
466466
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -482,15 +482,15 @@ async def test_path_params_delete(self, async_client: AsyncGradient) -> None:
482482
@parametrize
483483
async def test_method_list_evaluation_test_cases(self, async_client: AsyncGradient) -> None:
484484
workspace = await async_client.agents.evaluation_metrics.workspaces.list_evaluation_test_cases(
485-
"workspace_uuid",
485+
'"123e4567-e89b-12d3-a456-426614174000"',
486486
)
487487
assert_matches_type(WorkspaceListEvaluationTestCasesResponse, workspace, path=["response"])
488488

489489
@pytest.mark.skip(reason="Prism tests are disabled")
490490
@parametrize
491491
async def test_raw_response_list_evaluation_test_cases(self, async_client: AsyncGradient) -> None:
492492
response = await async_client.agents.evaluation_metrics.workspaces.with_raw_response.list_evaluation_test_cases(
493-
"workspace_uuid",
493+
'"123e4567-e89b-12d3-a456-426614174000"',
494494
)
495495

496496
assert response.is_closed is True
@@ -502,7 +502,7 @@ async def test_raw_response_list_evaluation_test_cases(self, async_client: Async
502502
@parametrize
503503
async def test_streaming_response_list_evaluation_test_cases(self, async_client: AsyncGradient) -> None:
504504
async with async_client.agents.evaluation_metrics.workspaces.with_streaming_response.list_evaluation_test_cases(
505-
"workspace_uuid",
505+
'"123e4567-e89b-12d3-a456-426614174000"',
506506
) as response:
507507
assert not response.is_closed
508508
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)