20
20
class TestSessions :
21
21
parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
22
22
23
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
23
24
@parametrize
24
25
def test_method_new (self , client : Finch ) -> None :
25
26
session = client .connect .sessions .new (
@@ -29,6 +30,7 @@ def test_method_new(self, client: Finch) -> None:
29
30
)
30
31
assert_matches_type (SessionNewResponse , session , path = ["response" ])
31
32
33
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
32
34
@parametrize
33
35
def test_method_new_with_all_params (self , client : Finch ) -> None :
34
36
session = client .connect .sessions .new (
@@ -47,6 +49,7 @@ def test_method_new_with_all_params(self, client: Finch) -> None:
47
49
)
48
50
assert_matches_type (SessionNewResponse , session , path = ["response" ])
49
51
52
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
50
53
@parametrize
51
54
def test_raw_response_new (self , client : Finch ) -> None :
52
55
response = client .connect .sessions .with_raw_response .new (
@@ -60,6 +63,7 @@ def test_raw_response_new(self, client: Finch) -> None:
60
63
session = response .parse ()
61
64
assert_matches_type (SessionNewResponse , session , path = ["response" ])
62
65
66
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
63
67
@parametrize
64
68
def test_streaming_response_new (self , client : Finch ) -> None :
65
69
with client .connect .sessions .with_streaming_response .new (
@@ -75,13 +79,15 @@ def test_streaming_response_new(self, client: Finch) -> None:
75
79
76
80
assert cast (Any , response .is_closed ) is True
77
81
82
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
78
83
@parametrize
79
84
def test_method_reauthenticate (self , client : Finch ) -> None :
80
85
session = client .connect .sessions .reauthenticate (
81
86
connection_id = "connection_id" ,
82
87
)
83
88
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
84
89
90
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
85
91
@parametrize
86
92
def test_method_reauthenticate_with_all_params (self , client : Finch ) -> None :
87
93
session = client .connect .sessions .reauthenticate (
@@ -92,6 +98,7 @@ def test_method_reauthenticate_with_all_params(self, client: Finch) -> None:
92
98
)
93
99
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
94
100
101
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
95
102
@parametrize
96
103
def test_raw_response_reauthenticate (self , client : Finch ) -> None :
97
104
response = client .connect .sessions .with_raw_response .reauthenticate (
@@ -103,6 +110,7 @@ def test_raw_response_reauthenticate(self, client: Finch) -> None:
103
110
session = response .parse ()
104
111
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
105
112
113
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
106
114
@parametrize
107
115
def test_streaming_response_reauthenticate (self , client : Finch ) -> None :
108
116
with client .connect .sessions .with_streaming_response .reauthenticate (
@@ -120,6 +128,7 @@ def test_streaming_response_reauthenticate(self, client: Finch) -> None:
120
128
class TestAsyncSessions :
121
129
parametrize = pytest .mark .parametrize ("async_client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
122
130
131
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
123
132
@parametrize
124
133
async def test_method_new (self , async_client : AsyncFinch ) -> None :
125
134
session = await async_client .connect .sessions .new (
@@ -129,6 +138,7 @@ async def test_method_new(self, async_client: AsyncFinch) -> None:
129
138
)
130
139
assert_matches_type (SessionNewResponse , session , path = ["response" ])
131
140
141
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
132
142
@parametrize
133
143
async def test_method_new_with_all_params (self , async_client : AsyncFinch ) -> None :
134
144
session = await async_client .connect .sessions .new (
@@ -147,6 +157,7 @@ async def test_method_new_with_all_params(self, async_client: AsyncFinch) -> Non
147
157
)
148
158
assert_matches_type (SessionNewResponse , session , path = ["response" ])
149
159
160
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
150
161
@parametrize
151
162
async def test_raw_response_new (self , async_client : AsyncFinch ) -> None :
152
163
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:
160
171
session = response .parse ()
161
172
assert_matches_type (SessionNewResponse , session , path = ["response" ])
162
173
174
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
163
175
@parametrize
164
176
async def test_streaming_response_new (self , async_client : AsyncFinch ) -> None :
165
177
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:
175
187
176
188
assert cast (Any , response .is_closed ) is True
177
189
190
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
178
191
@parametrize
179
192
async def test_method_reauthenticate (self , async_client : AsyncFinch ) -> None :
180
193
session = await async_client .connect .sessions .reauthenticate (
181
194
connection_id = "connection_id" ,
182
195
)
183
196
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
184
197
198
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
185
199
@parametrize
186
200
async def test_method_reauthenticate_with_all_params (self , async_client : AsyncFinch ) -> None :
187
201
session = await async_client .connect .sessions .reauthenticate (
@@ -192,6 +206,7 @@ async def test_method_reauthenticate_with_all_params(self, async_client: AsyncFi
192
206
)
193
207
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
194
208
209
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
195
210
@parametrize
196
211
async def test_raw_response_reauthenticate (self , async_client : AsyncFinch ) -> None :
197
212
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
203
218
session = response .parse ()
204
219
assert_matches_type (SessionReauthenticateResponse , session , path = ["response" ])
205
220
221
+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
206
222
@parametrize
207
223
async def test_streaming_response_reauthenticate (self , async_client : AsyncFinch ) -> None :
208
224
async with async_client .connect .sessions .with_streaming_response .reauthenticate (
0 commit comments