@@ -25,12 +25,6 @@ class TestEditors:
2525 @pytest .mark .skip ()
2626 @parametrize
2727 def test_method_retrieve (self , client : Gitpod ) -> None :
28- editor = client .editors .retrieve ()
29- assert_matches_type (EditorRetrieveResponse , editor , path = ["response" ])
30-
31- @pytest .mark .skip ()
32- @parametrize
33- def test_method_retrieve_with_all_params (self , client : Gitpod ) -> None :
3428 editor = client .editors .retrieve (
3529 id = "id" ,
3630 )
@@ -39,7 +33,9 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None:
3933 @pytest .mark .skip ()
4034 @parametrize
4135 def test_raw_response_retrieve (self , client : Gitpod ) -> None :
42- response = client .editors .with_raw_response .retrieve ()
36+ response = client .editors .with_raw_response .retrieve (
37+ id = "id" ,
38+ )
4339
4440 assert response .is_closed is True
4541 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -49,7 +45,9 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None:
4945 @pytest .mark .skip ()
5046 @parametrize
5147 def test_streaming_response_retrieve (self , client : Gitpod ) -> None :
52- with client .editors .with_streaming_response .retrieve () as response :
48+ with client .editors .with_streaming_response .retrieve (
49+ id = "id" ,
50+ ) as response :
5351 assert not response .is_closed
5452 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
5553
@@ -102,12 +100,6 @@ def test_streaming_response_list(self, client: Gitpod) -> None:
102100 @pytest .mark .skip ()
103101 @parametrize
104102 def test_method_resolve_url (self , client : Gitpod ) -> None :
105- editor = client .editors .resolve_url ()
106- assert_matches_type (EditorResolveURLResponse , editor , path = ["response" ])
107-
108- @pytest .mark .skip ()
109- @parametrize
110- def test_method_resolve_url_with_all_params (self , client : Gitpod ) -> None :
111103 editor = client .editors .resolve_url (
112104 editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
113105 environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
@@ -118,7 +110,11 @@ def test_method_resolve_url_with_all_params(self, client: Gitpod) -> None:
118110 @pytest .mark .skip ()
119111 @parametrize
120112 def test_raw_response_resolve_url (self , client : Gitpod ) -> None :
121- response = client .editors .with_raw_response .resolve_url ()
113+ response = client .editors .with_raw_response .resolve_url (
114+ editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
115+ environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
116+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
117+ )
122118
123119 assert response .is_closed is True
124120 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -128,7 +124,11 @@ def test_raw_response_resolve_url(self, client: Gitpod) -> None:
128124 @pytest .mark .skip ()
129125 @parametrize
130126 def test_streaming_response_resolve_url (self , client : Gitpod ) -> None :
131- with client .editors .with_streaming_response .resolve_url () as response :
127+ with client .editors .with_streaming_response .resolve_url (
128+ editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
129+ environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
130+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
131+ ) as response :
132132 assert not response .is_closed
133133 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
134134
@@ -144,12 +144,6 @@ class TestAsyncEditors:
144144 @pytest .mark .skip ()
145145 @parametrize
146146 async def test_method_retrieve (self , async_client : AsyncGitpod ) -> None :
147- editor = await async_client .editors .retrieve ()
148- assert_matches_type (EditorRetrieveResponse , editor , path = ["response" ])
149-
150- @pytest .mark .skip ()
151- @parametrize
152- async def test_method_retrieve_with_all_params (self , async_client : AsyncGitpod ) -> None :
153147 editor = await async_client .editors .retrieve (
154148 id = "id" ,
155149 )
@@ -158,7 +152,9 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod)
158152 @pytest .mark .skip ()
159153 @parametrize
160154 async def test_raw_response_retrieve (self , async_client : AsyncGitpod ) -> None :
161- response = await async_client .editors .with_raw_response .retrieve ()
155+ response = await async_client .editors .with_raw_response .retrieve (
156+ id = "id" ,
157+ )
162158
163159 assert response .is_closed is True
164160 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -168,7 +164,9 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None:
168164 @pytest .mark .skip ()
169165 @parametrize
170166 async def test_streaming_response_retrieve (self , async_client : AsyncGitpod ) -> None :
171- async with async_client .editors .with_streaming_response .retrieve () as response :
167+ async with async_client .editors .with_streaming_response .retrieve (
168+ id = "id" ,
169+ ) as response :
172170 assert not response .is_closed
173171 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
174172
@@ -221,12 +219,6 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None:
221219 @pytest .mark .skip ()
222220 @parametrize
223221 async def test_method_resolve_url (self , async_client : AsyncGitpod ) -> None :
224- editor = await async_client .editors .resolve_url ()
225- assert_matches_type (EditorResolveURLResponse , editor , path = ["response" ])
226-
227- @pytest .mark .skip ()
228- @parametrize
229- async def test_method_resolve_url_with_all_params (self , async_client : AsyncGitpod ) -> None :
230222 editor = await async_client .editors .resolve_url (
231223 editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
232224 environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
@@ -237,7 +229,11 @@ async def test_method_resolve_url_with_all_params(self, async_client: AsyncGitpo
237229 @pytest .mark .skip ()
238230 @parametrize
239231 async def test_raw_response_resolve_url (self , async_client : AsyncGitpod ) -> None :
240- response = await async_client .editors .with_raw_response .resolve_url ()
232+ response = await async_client .editors .with_raw_response .resolve_url (
233+ editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
234+ environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
235+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
236+ )
241237
242238 assert response .is_closed is True
243239 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -247,7 +243,11 @@ async def test_raw_response_resolve_url(self, async_client: AsyncGitpod) -> None
247243 @pytest .mark .skip ()
248244 @parametrize
249245 async def test_streaming_response_resolve_url (self , async_client : AsyncGitpod ) -> None :
250- async with async_client .editors .with_streaming_response .resolve_url () as response :
246+ async with async_client .editors .with_streaming_response .resolve_url (
247+ editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
248+ environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
249+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
250+ ) as response :
251251 assert not response .is_closed
252252 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
253253
0 commit comments