2020class TestSessions :
2121 parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
2222
23+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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:
120128class TestAsyncSessions :
121129 parametrize = pytest .mark .parametrize ("async_client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
122130
131+ @pytest .mark .skip (reason = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 = "authentication setup doesn't currently work with the mock server" )
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 (
0 commit comments