Skip to content

Commit de414ba

Browse files
feat(api): api update
1 parent 5a1e185 commit de414ba

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-2b77f13a159cf689a3bba6ac5ff03b6c0df62b772e2da04aff52be86710ca4d4.yml
3-
openapi_spec_hash: 28a3f685403d98ddd68b427d92ed28fb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-91a51960dab258d5435cc2a7f47760fd81e4b711b891a1fde3d98757e85e8add.yml
3+
openapi_spec_hash: 192e4e94264db429260169f0b2e731ce
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

tests/api_resources/test_license_types.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ class TestLicenseTypes:
2525
@parametrize
2626
def test_method_create(self, client: Orb) -> None:
2727
license_type = client.license_types.create(
28-
grouping_key="grouping_key",
29-
name="name",
28+
grouping_key="x",
29+
name="x",
3030
)
3131
assert_matches_type(LicenseTypeCreateResponse, license_type, path=["response"])
3232

3333
@parametrize
3434
def test_raw_response_create(self, client: Orb) -> None:
3535
response = client.license_types.with_raw_response.create(
36-
grouping_key="grouping_key",
37-
name="name",
36+
grouping_key="x",
37+
name="x",
3838
)
3939

4040
assert response.is_closed is True
@@ -45,8 +45,8 @@ def test_raw_response_create(self, client: Orb) -> None:
4545
@parametrize
4646
def test_streaming_response_create(self, client: Orb) -> None:
4747
with client.license_types.with_streaming_response.create(
48-
grouping_key="grouping_key",
49-
name="name",
48+
grouping_key="x",
49+
name="x",
5050
) as response:
5151
assert not response.is_closed
5252
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -136,16 +136,16 @@ class TestAsyncLicenseTypes:
136136
@parametrize
137137
async def test_method_create(self, async_client: AsyncOrb) -> None:
138138
license_type = await async_client.license_types.create(
139-
grouping_key="grouping_key",
140-
name="name",
139+
grouping_key="x",
140+
name="x",
141141
)
142142
assert_matches_type(LicenseTypeCreateResponse, license_type, path=["response"])
143143

144144
@parametrize
145145
async def test_raw_response_create(self, async_client: AsyncOrb) -> None:
146146
response = await async_client.license_types.with_raw_response.create(
147-
grouping_key="grouping_key",
148-
name="name",
147+
grouping_key="x",
148+
name="x",
149149
)
150150

151151
assert response.is_closed is True
@@ -156,8 +156,8 @@ async def test_raw_response_create(self, async_client: AsyncOrb) -> None:
156156
@parametrize
157157
async def test_streaming_response_create(self, async_client: AsyncOrb) -> None:
158158
async with async_client.license_types.with_streaming_response.create(
159-
grouping_key="grouping_key",
160-
name="name",
159+
grouping_key="x",
160+
name="x",
161161
) as response:
162162
assert not response.is_closed
163163
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)