Skip to content

Commit a8dfd3d

Browse files
feat(api): api update (#957)
1 parent 256d107 commit a8dfd3d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 201
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-93fa70b01fd9cf6a31edec954dc66bb9a14a26e2ea0fbe2fc22ed86b7774b239.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f4db2590b8381f1ce20ef003e571392a1b33023e29febd4a3caca983705db688.yml

tests/api_resources/test_oauth_connections.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ class TestOAuthConnections:
2121
@parametrize
2222
def test_method_retrieve(self, client: Increase) -> None:
2323
oauth_connection = client.oauth_connections.retrieve(
24-
"oauth_connection_id",
24+
"x",
2525
)
2626
assert_matches_type(OAuthConnection, oauth_connection, path=["response"])
2727

2828
@parametrize
2929
def test_raw_response_retrieve(self, client: Increase) -> None:
3030
response = client.oauth_connections.with_raw_response.retrieve(
31-
"oauth_connection_id",
31+
"x",
3232
)
3333

3434
assert response.is_closed is True
@@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None:
3939
@parametrize
4040
def test_streaming_response_retrieve(self, client: Increase) -> None:
4141
with client.oauth_connections.with_streaming_response.retrieve(
42-
"oauth_connection_id",
42+
"x",
4343
) as response:
4444
assert not response.is_closed
4545
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -98,14 +98,14 @@ class TestAsyncOAuthConnections:
9898
@parametrize
9999
async def test_method_retrieve(self, async_client: AsyncIncrease) -> None:
100100
oauth_connection = await async_client.oauth_connections.retrieve(
101-
"oauth_connection_id",
101+
"x",
102102
)
103103
assert_matches_type(OAuthConnection, oauth_connection, path=["response"])
104104

105105
@parametrize
106106
async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None:
107107
response = await async_client.oauth_connections.with_raw_response.retrieve(
108-
"oauth_connection_id",
108+
"x",
109109
)
110110

111111
assert response.is_closed is True
@@ -116,7 +116,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None:
116116
@parametrize
117117
async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None:
118118
async with async_client.oauth_connections.with_streaming_response.retrieve(
119-
"oauth_connection_id",
119+
"x",
120120
) as response:
121121
assert not response.is_closed
122122
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)