Skip to content

Commit 41a366f

Browse files
committed
chore(test): update examples (#252)
1 parent 1ef72c7 commit 41a366f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tests/api_resources/sandbox/test_directory.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ class TestDirectory:
2323
@parametrize
2424
def test_method_create(self, client: Finch) -> None:
2525
directory = client.sandbox.directory.create(
26-
body=[{}, {}, {}],
26+
body=[{}],
2727
)
2828
assert_matches_type(DirectoryCreateResponse, directory, path=["response"])
2929

3030
@parametrize
3131
def test_raw_response_create(self, client: Finch) -> None:
3232
response = client.sandbox.directory.with_raw_response.create(
33-
body=[{}, {}, {}],
33+
body=[{}],
3434
)
3535
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
3636
directory = response.parse()
@@ -45,14 +45,14 @@ class TestAsyncDirectory:
4545
@parametrize
4646
async def test_method_create(self, client: AsyncFinch) -> None:
4747
directory = await client.sandbox.directory.create(
48-
body=[{}, {}, {}],
48+
body=[{}],
4949
)
5050
assert_matches_type(DirectoryCreateResponse, directory, path=["response"])
5151

5252
@parametrize
5353
async def test_raw_response_create(self, client: AsyncFinch) -> None:
5454
response = await client.sandbox.directory.with_raw_response.create(
55-
body=[{}, {}, {}],
55+
body=[{}],
5656
)
5757
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
5858
directory = response.parse()

tests/api_resources/sandbox/test_employment.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_method_update_with_all_params(self, client: Finch) -> None:
9494
manager={"id": "string"},
9595
middle_name="string",
9696
source_id="string",
97-
start_date="string",
97+
start_date="3/4/2020",
9898
title="string",
9999
)
100100
assert_matches_type(EmploymentUpdateResponse, employment, path=["response"])
@@ -188,7 +188,7 @@ async def test_method_update_with_all_params(self, client: AsyncFinch) -> None:
188188
manager={"id": "string"},
189189
middle_name="string",
190190
source_id="string",
191-
start_date="string",
191+
start_date="3/4/2020",
192192
title="string",
193193
)
194194
assert_matches_type(EmploymentUpdateResponse, employment, path=["response"])

tests/api_resources/sandbox/test_individual.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_method_update(self, client: Finch) -> None:
3131
def test_method_update_with_all_params(self, client: Finch) -> None:
3232
individual = client.sandbox.individual.update(
3333
"string",
34-
dob="string",
34+
dob="12/20/1989",
3535
emails=[
3636
{
3737
"data": "string",
@@ -107,7 +107,7 @@ async def test_method_update(self, client: AsyncFinch) -> None:
107107
async def test_method_update_with_all_params(self, client: AsyncFinch) -> None:
108108
individual = await client.sandbox.individual.update(
109109
"string",
110-
dob="string",
110+
dob="12/20/1989",
111111
emails=[
112112
{
113113
"data": "string",

0 commit comments

Comments
 (0)