Skip to content

Commit 9548dd5

Browse files
chore(tests): skip endpoints with basic auth
1 parent 4ad8fe4 commit 9548dd5

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
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: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-fb9ba13b8189c4223972e38677ea301c3121358e88fbfc9e4ec95ea5cc92f530.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-1a82d3230c420c8562600b0ad45133d79ab68ffd21d524ab26eef11e163dba09.yml
33
openapi_spec_hash: 7bd02ce73505e51c5fd78608fed55c62
4-
config_hash: acf5ff659c4400f8c6ee5a2488a83904
4+
config_hash: 81eb5297df860cf29f8c5bdbf9f89608

tests/api_resources/connect/test_sessions.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
class TestSessions:
2121
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2222

23+
@pytest.mark.skip(reason="prism tests are broken")
2324
@parametrize
2425
def test_method_new(self, client: Finch) -> None:
2526
session = client.connect.sessions.new(
@@ -29,6 +30,7 @@ def test_method_new(self, client: Finch) -> None:
2930
)
3031
assert_matches_type(SessionNewResponse, session, path=["response"])
3132

33+
@pytest.mark.skip(reason="prism tests are broken")
3234
@parametrize
3335
def test_method_new_with_all_params(self, client: Finch) -> None:
3436
session = client.connect.sessions.new(
@@ -47,6 +49,7 @@ def test_method_new_with_all_params(self, client: Finch) -> None:
4749
)
4850
assert_matches_type(SessionNewResponse, session, path=["response"])
4951

52+
@pytest.mark.skip(reason="prism tests are broken")
5053
@parametrize
5154
def test_raw_response_new(self, client: Finch) -> None:
5255
response = client.connect.sessions.with_raw_response.new(
@@ -60,6 +63,7 @@ def test_raw_response_new(self, client: Finch) -> None:
6063
session = response.parse()
6164
assert_matches_type(SessionNewResponse, session, path=["response"])
6265

66+
@pytest.mark.skip(reason="prism tests are broken")
6367
@parametrize
6468
def test_streaming_response_new(self, client: Finch) -> None:
6569
with client.connect.sessions.with_streaming_response.new(
@@ -75,13 +79,15 @@ def test_streaming_response_new(self, client: Finch) -> None:
7579

7680
assert cast(Any, response.is_closed) is True
7781

82+
@pytest.mark.skip(reason="prism tests are broken")
7883
@parametrize
7984
def test_method_reauthenticate(self, client: Finch) -> None:
8085
session = client.connect.sessions.reauthenticate(
8186
connection_id="connection_id",
8287
)
8388
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
8489

90+
@pytest.mark.skip(reason="prism tests are broken")
8591
@parametrize
8692
def test_method_reauthenticate_with_all_params(self, client: Finch) -> None:
8793
session = client.connect.sessions.reauthenticate(
@@ -92,6 +98,7 @@ def test_method_reauthenticate_with_all_params(self, client: Finch) -> None:
9298
)
9399
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
94100

101+
@pytest.mark.skip(reason="prism tests are broken")
95102
@parametrize
96103
def test_raw_response_reauthenticate(self, client: Finch) -> None:
97104
response = client.connect.sessions.with_raw_response.reauthenticate(
@@ -103,6 +110,7 @@ def test_raw_response_reauthenticate(self, client: Finch) -> None:
103110
session = response.parse()
104111
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
105112

113+
@pytest.mark.skip(reason="prism tests are broken")
106114
@parametrize
107115
def test_streaming_response_reauthenticate(self, client: Finch) -> None:
108116
with client.connect.sessions.with_streaming_response.reauthenticate(
@@ -120,6 +128,7 @@ def test_streaming_response_reauthenticate(self, client: Finch) -> None:
120128
class TestAsyncSessions:
121129
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
122130

131+
@pytest.mark.skip(reason="prism tests are broken")
123132
@parametrize
124133
async def test_method_new(self, async_client: AsyncFinch) -> None:
125134
session = await async_client.connect.sessions.new(
@@ -129,6 +138,7 @@ async def test_method_new(self, async_client: AsyncFinch) -> None:
129138
)
130139
assert_matches_type(SessionNewResponse, session, path=["response"])
131140

141+
@pytest.mark.skip(reason="prism tests are broken")
132142
@parametrize
133143
async def test_method_new_with_all_params(self, async_client: AsyncFinch) -> None:
134144
session = await async_client.connect.sessions.new(
@@ -147,6 +157,7 @@ async def test_method_new_with_all_params(self, async_client: AsyncFinch) -> Non
147157
)
148158
assert_matches_type(SessionNewResponse, session, path=["response"])
149159

160+
@pytest.mark.skip(reason="prism tests are broken")
150161
@parametrize
151162
async def test_raw_response_new(self, async_client: AsyncFinch) -> None:
152163
response = await async_client.connect.sessions.with_raw_response.new(
@@ -160,6 +171,7 @@ async def test_raw_response_new(self, async_client: AsyncFinch) -> None:
160171
session = response.parse()
161172
assert_matches_type(SessionNewResponse, session, path=["response"])
162173

174+
@pytest.mark.skip(reason="prism tests are broken")
163175
@parametrize
164176
async def test_streaming_response_new(self, async_client: AsyncFinch) -> None:
165177
async with async_client.connect.sessions.with_streaming_response.new(
@@ -175,13 +187,15 @@ async def test_streaming_response_new(self, async_client: AsyncFinch) -> None:
175187

176188
assert cast(Any, response.is_closed) is True
177189

190+
@pytest.mark.skip(reason="prism tests are broken")
178191
@parametrize
179192
async def test_method_reauthenticate(self, async_client: AsyncFinch) -> None:
180193
session = await async_client.connect.sessions.reauthenticate(
181194
connection_id="connection_id",
182195
)
183196
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
184197

198+
@pytest.mark.skip(reason="prism tests are broken")
185199
@parametrize
186200
async def test_method_reauthenticate_with_all_params(self, async_client: AsyncFinch) -> None:
187201
session = await async_client.connect.sessions.reauthenticate(
@@ -192,6 +206,7 @@ async def test_method_reauthenticate_with_all_params(self, async_client: AsyncFi
192206
)
193207
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
194208

209+
@pytest.mark.skip(reason="prism tests are broken")
195210
@parametrize
196211
async def test_raw_response_reauthenticate(self, async_client: AsyncFinch) -> None:
197212
response = await async_client.connect.sessions.with_raw_response.reauthenticate(
@@ -203,6 +218,7 @@ async def test_raw_response_reauthenticate(self, async_client: AsyncFinch) -> No
203218
session = response.parse()
204219
assert_matches_type(SessionReauthenticateResponse, session, path=["response"])
205220

221+
@pytest.mark.skip(reason="prism tests are broken")
206222
@parametrize
207223
async def test_streaming_response_reauthenticate(self, async_client: AsyncFinch) -> None:
208224
async with async_client.connect.sessions.with_streaming_response.reauthenticate(

tests/api_resources/sandbox/connections/test_accounts.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
class TestAccounts:
2121
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2222

23+
@pytest.mark.skip(reason="prism tests are broken")
2324
@parametrize
2425
def test_method_create(self, client: Finch) -> None:
2526
account = client.sandbox.connections.accounts.create(
@@ -28,6 +29,7 @@ def test_method_create(self, client: Finch) -> None:
2829
)
2930
assert_matches_type(AccountCreateResponse, account, path=["response"])
3031

32+
@pytest.mark.skip(reason="prism tests are broken")
3133
@parametrize
3234
def test_method_create_with_all_params(self, client: Finch) -> None:
3335
account = client.sandbox.connections.accounts.create(
@@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
3840
)
3941
assert_matches_type(AccountCreateResponse, account, path=["response"])
4042

43+
@pytest.mark.skip(reason="prism tests are broken")
4144
@parametrize
4245
def test_raw_response_create(self, client: Finch) -> None:
4346
response = client.sandbox.connections.accounts.with_raw_response.create(
@@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Finch) -> None:
5053
account = response.parse()
5154
assert_matches_type(AccountCreateResponse, account, path=["response"])
5255

56+
@pytest.mark.skip(reason="prism tests are broken")
5357
@parametrize
5458
def test_streaming_response_create(self, client: Finch) -> None:
5559
with client.sandbox.connections.accounts.with_streaming_response.create(
@@ -100,6 +104,7 @@ def test_streaming_response_update(self, client: Finch) -> None:
100104
class TestAsyncAccounts:
101105
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
102106

107+
@pytest.mark.skip(reason="prism tests are broken")
103108
@parametrize
104109
async def test_method_create(self, async_client: AsyncFinch) -> None:
105110
account = await async_client.sandbox.connections.accounts.create(
@@ -108,6 +113,7 @@ async def test_method_create(self, async_client: AsyncFinch) -> None:
108113
)
109114
assert_matches_type(AccountCreateResponse, account, path=["response"])
110115

116+
@pytest.mark.skip(reason="prism tests are broken")
111117
@parametrize
112118
async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None:
113119
account = await async_client.sandbox.connections.accounts.create(
@@ -118,6 +124,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
118124
)
119125
assert_matches_type(AccountCreateResponse, account, path=["response"])
120126

127+
@pytest.mark.skip(reason="prism tests are broken")
121128
@parametrize
122129
async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
123130
response = await async_client.sandbox.connections.accounts.with_raw_response.create(
@@ -130,6 +137,7 @@ async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
130137
account = response.parse()
131138
assert_matches_type(AccountCreateResponse, account, path=["response"])
132139

140+
@pytest.mark.skip(reason="prism tests are broken")
133141
@parametrize
134142
async def test_streaming_response_create(self, async_client: AsyncFinch) -> None:
135143
async with async_client.sandbox.connections.accounts.with_streaming_response.create(

tests/api_resources/sandbox/test_connections.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
class TestConnections:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20+
@pytest.mark.skip(reason="prism tests are broken")
2021
@parametrize
2122
def test_method_create(self, client: Finch) -> None:
2223
connection = client.sandbox.connections.create(
2324
provider_id="provider_id",
2425
)
2526
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
2627

28+
@pytest.mark.skip(reason="prism tests are broken")
2729
@parametrize
2830
def test_method_create_with_all_params(self, client: Finch) -> None:
2931
connection = client.sandbox.connections.create(
@@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
3436
)
3537
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
3638

39+
@pytest.mark.skip(reason="prism tests are broken")
3740
@parametrize
3841
def test_raw_response_create(self, client: Finch) -> None:
3942
response = client.sandbox.connections.with_raw_response.create(
@@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Finch) -> None:
4548
connection = response.parse()
4649
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
4750

51+
@pytest.mark.skip(reason="prism tests are broken")
4852
@parametrize
4953
def test_streaming_response_create(self, client: Finch) -> None:
5054
with client.sandbox.connections.with_streaming_response.create(
@@ -62,13 +66,15 @@ def test_streaming_response_create(self, client: Finch) -> None:
6266
class TestAsyncConnections:
6367
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
6468

69+
@pytest.mark.skip(reason="prism tests are broken")
6570
@parametrize
6671
async def test_method_create(self, async_client: AsyncFinch) -> None:
6772
connection = await async_client.sandbox.connections.create(
6873
provider_id="provider_id",
6974
)
7075
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
7176

77+
@pytest.mark.skip(reason="prism tests are broken")
7278
@parametrize
7379
async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None:
7480
connection = await async_client.sandbox.connections.create(
@@ -79,6 +85,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
7985
)
8086
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
8187

88+
@pytest.mark.skip(reason="prism tests are broken")
8289
@parametrize
8390
async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
8491
response = await async_client.sandbox.connections.with_raw_response.create(
@@ -90,6 +97,7 @@ async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
9097
connection = response.parse()
9198
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
9299

100+
@pytest.mark.skip(reason="prism tests are broken")
93101
@parametrize
94102
async def test_streaming_response_create(self, async_client: AsyncFinch) -> None:
95103
async with async_client.sandbox.connections.with_streaming_response.create(

0 commit comments

Comments
 (0)