@@ -95,7 +95,7 @@ def test_method_update(self, client: Asktable) -> None:
9595 securetunnel = client .securetunnels .update (
9696 securetunnel_id = "securetunnel_id" ,
9797 )
98- assert_matches_type (object , securetunnel , path = ["response" ])
98+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
9999
100100 @parametrize
101101 def test_method_update_with_all_params (self , client : Asktable ) -> None :
@@ -105,7 +105,7 @@ def test_method_update_with_all_params(self, client: Asktable) -> None:
105105 name = "我的测试机" ,
106106 unique_key = "unique_key" ,
107107 )
108- assert_matches_type (object , securetunnel , path = ["response" ])
108+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
109109
110110 @parametrize
111111 def test_raw_response_update (self , client : Asktable ) -> None :
@@ -116,7 +116,7 @@ def test_raw_response_update(self, client: Asktable) -> None:
116116 assert response .is_closed is True
117117 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
118118 securetunnel = response .parse ()
119- assert_matches_type (object , securetunnel , path = ["response" ])
119+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
120120
121121 @parametrize
122122 def test_streaming_response_update (self , client : Asktable ) -> None :
@@ -127,7 +127,7 @@ def test_streaming_response_update(self, client: Asktable) -> None:
127127 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
128128
129129 securetunnel = response .parse ()
130- assert_matches_type (object , securetunnel , path = ["response" ])
130+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
131131
132132 assert cast (Any , response .is_closed ) is True
133133
@@ -288,7 +288,7 @@ async def test_method_update(self, async_client: AsyncAsktable) -> None:
288288 securetunnel = await async_client .securetunnels .update (
289289 securetunnel_id = "securetunnel_id" ,
290290 )
291- assert_matches_type (object , securetunnel , path = ["response" ])
291+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
292292
293293 @parametrize
294294 async def test_method_update_with_all_params (self , async_client : AsyncAsktable ) -> None :
@@ -298,7 +298,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncAsktable)
298298 name = "我的测试机" ,
299299 unique_key = "unique_key" ,
300300 )
301- assert_matches_type (object , securetunnel , path = ["response" ])
301+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
302302
303303 @parametrize
304304 async def test_raw_response_update (self , async_client : AsyncAsktable ) -> None :
@@ -309,7 +309,7 @@ async def test_raw_response_update(self, async_client: AsyncAsktable) -> None:
309309 assert response .is_closed is True
310310 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
311311 securetunnel = await response .parse ()
312- assert_matches_type (object , securetunnel , path = ["response" ])
312+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
313313
314314 @parametrize
315315 async def test_streaming_response_update (self , async_client : AsyncAsktable ) -> None :
@@ -320,7 +320,7 @@ async def test_streaming_response_update(self, async_client: AsyncAsktable) -> N
320320 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
321321
322322 securetunnel = await response .parse ()
323- assert_matches_type (object , securetunnel , path = ["response" ])
323+ assert_matches_type (SecureTunnel , securetunnel , path = ["response" ])
324324
325325 assert cast (Any , response .is_closed ) is True
326326
0 commit comments