@@ -25,12 +25,6 @@ class TestEditors:
25
25
@pytest .mark .skip ()
26
26
@parametrize
27
27
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 :
34
28
editor = client .editors .retrieve (
35
29
id = "id" ,
36
30
)
@@ -39,7 +33,9 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None:
39
33
@pytest .mark .skip ()
40
34
@parametrize
41
35
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
+ )
43
39
44
40
assert response .is_closed is True
45
41
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -49,7 +45,9 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None:
49
45
@pytest .mark .skip ()
50
46
@parametrize
51
47
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 :
53
51
assert not response .is_closed
54
52
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
55
53
@@ -102,12 +100,6 @@ def test_streaming_response_list(self, client: Gitpod) -> None:
102
100
@pytest .mark .skip ()
103
101
@parametrize
104
102
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 :
111
103
editor = client .editors .resolve_url (
112
104
editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
113
105
environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
@@ -118,7 +110,11 @@ def test_method_resolve_url_with_all_params(self, client: Gitpod) -> None:
118
110
@pytest .mark .skip ()
119
111
@parametrize
120
112
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
+ )
122
118
123
119
assert response .is_closed is True
124
120
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -128,7 +124,11 @@ def test_raw_response_resolve_url(self, client: Gitpod) -> None:
128
124
@pytest .mark .skip ()
129
125
@parametrize
130
126
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 :
132
132
assert not response .is_closed
133
133
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
134
134
@@ -144,12 +144,6 @@ class TestAsyncEditors:
144
144
@pytest .mark .skip ()
145
145
@parametrize
146
146
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 :
153
147
editor = await async_client .editors .retrieve (
154
148
id = "id" ,
155
149
)
@@ -158,7 +152,9 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod)
158
152
@pytest .mark .skip ()
159
153
@parametrize
160
154
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
+ )
162
158
163
159
assert response .is_closed is True
164
160
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:
168
164
@pytest .mark .skip ()
169
165
@parametrize
170
166
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 :
172
170
assert not response .is_closed
173
171
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
174
172
@@ -221,12 +219,6 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None:
221
219
@pytest .mark .skip ()
222
220
@parametrize
223
221
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 :
230
222
editor = await async_client .editors .resolve_url (
231
223
editor_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
232
224
environment_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
@@ -237,7 +229,11 @@ async def test_method_resolve_url_with_all_params(self, async_client: AsyncGitpo
237
229
@pytest .mark .skip ()
238
230
@parametrize
239
231
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
+ )
241
237
242
238
assert response .is_closed is True
243
239
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
247
243
@pytest .mark .skip ()
248
244
@parametrize
249
245
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 :
251
251
assert not response .is_closed
252
252
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
253
253
0 commit comments