Skip to content

Commit 3c81bd0

Browse files
fix(tests): disable mock tests (#5)
1 parent edefa46 commit 3c81bd0

26 files changed

+954
-0
lines changed

tests/api_resources/environments/automations/tasks/test_executions.py

+24
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,21 @@
2121
class TestExecutions:
2222
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2323

24+
@pytest.mark.skip()
2425
@parametrize
2526
def test_method_retrieve(self, client: Gitpod) -> None:
2627
execution = client.environments.automations.tasks.executions.retrieve()
2728
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
2829

30+
@pytest.mark.skip()
2931
@parametrize
3032
def test_method_retrieve_with_all_params(self, client: Gitpod) -> None:
3133
execution = client.environments.automations.tasks.executions.retrieve(
3234
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
3335
)
3436
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
3537

38+
@pytest.mark.skip()
3639
@parametrize
3740
def test_raw_response_retrieve(self, client: Gitpod) -> None:
3841
response = client.environments.automations.tasks.executions.with_raw_response.retrieve()
@@ -42,6 +45,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None:
4245
execution = response.parse()
4346
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
4447

48+
@pytest.mark.skip()
4549
@parametrize
4650
def test_streaming_response_retrieve(self, client: Gitpod) -> None:
4751
with client.environments.automations.tasks.executions.with_streaming_response.retrieve() as response:
@@ -53,11 +57,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None:
5357

5458
assert cast(Any, response.is_closed) is True
5559

60+
@pytest.mark.skip()
5661
@parametrize
5762
def test_method_list(self, client: Gitpod) -> None:
5863
execution = client.environments.automations.tasks.executions.list()
5964
assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
6065

66+
@pytest.mark.skip()
6167
@parametrize
6268
def test_method_list_with_all_params(self, client: Gitpod) -> None:
6369
execution = client.environments.automations.tasks.executions.list(
@@ -76,6 +82,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None:
7682
)
7783
assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
7884

85+
@pytest.mark.skip()
7986
@parametrize
8087
def test_raw_response_list(self, client: Gitpod) -> None:
8188
response = client.environments.automations.tasks.executions.with_raw_response.list()
@@ -85,6 +92,7 @@ def test_raw_response_list(self, client: Gitpod) -> None:
8592
execution = response.parse()
8693
assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
8794

95+
@pytest.mark.skip()
8896
@parametrize
8997
def test_streaming_response_list(self, client: Gitpod) -> None:
9098
with client.environments.automations.tasks.executions.with_streaming_response.list() as response:
@@ -96,18 +104,21 @@ def test_streaming_response_list(self, client: Gitpod) -> None:
96104

97105
assert cast(Any, response.is_closed) is True
98106

107+
@pytest.mark.skip()
99108
@parametrize
100109
def test_method_stop(self, client: Gitpod) -> None:
101110
execution = client.environments.automations.tasks.executions.stop()
102111
assert_matches_type(object, execution, path=["response"])
103112

113+
@pytest.mark.skip()
104114
@parametrize
105115
def test_method_stop_with_all_params(self, client: Gitpod) -> None:
106116
execution = client.environments.automations.tasks.executions.stop(
107117
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
108118
)
109119
assert_matches_type(object, execution, path=["response"])
110120

121+
@pytest.mark.skip()
111122
@parametrize
112123
def test_raw_response_stop(self, client: Gitpod) -> None:
113124
response = client.environments.automations.tasks.executions.with_raw_response.stop()
@@ -117,6 +128,7 @@ def test_raw_response_stop(self, client: Gitpod) -> None:
117128
execution = response.parse()
118129
assert_matches_type(object, execution, path=["response"])
119130

131+
@pytest.mark.skip()
120132
@parametrize
121133
def test_streaming_response_stop(self, client: Gitpod) -> None:
122134
with client.environments.automations.tasks.executions.with_streaming_response.stop() as response:
@@ -132,18 +144,21 @@ def test_streaming_response_stop(self, client: Gitpod) -> None:
132144
class TestAsyncExecutions:
133145
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
134146

147+
@pytest.mark.skip()
135148
@parametrize
136149
async def test_method_retrieve(self, async_client: AsyncGitpod) -> None:
137150
execution = await async_client.environments.automations.tasks.executions.retrieve()
138151
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
139152

153+
@pytest.mark.skip()
140154
@parametrize
141155
async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None:
142156
execution = await async_client.environments.automations.tasks.executions.retrieve(
143157
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
144158
)
145159
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
146160

161+
@pytest.mark.skip()
147162
@parametrize
148163
async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None:
149164
response = await async_client.environments.automations.tasks.executions.with_raw_response.retrieve()
@@ -153,6 +168,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None:
153168
execution = await response.parse()
154169
assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"])
155170

171+
@pytest.mark.skip()
156172
@parametrize
157173
async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None:
158174
async with (
@@ -166,11 +182,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N
166182

167183
assert cast(Any, response.is_closed) is True
168184

185+
@pytest.mark.skip()
169186
@parametrize
170187
async def test_method_list(self, async_client: AsyncGitpod) -> None:
171188
execution = await async_client.environments.automations.tasks.executions.list()
172189
assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
173190

191+
@pytest.mark.skip()
174192
@parametrize
175193
async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None:
176194
execution = await async_client.environments.automations.tasks.executions.list(
@@ -189,6 +207,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N
189207
)
190208
assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
191209

210+
@pytest.mark.skip()
192211
@parametrize
193212
async def test_raw_response_list(self, async_client: AsyncGitpod) -> None:
194213
response = await async_client.environments.automations.tasks.executions.with_raw_response.list()
@@ -198,6 +217,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None:
198217
execution = await response.parse()
199218
assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"])
200219

220+
@pytest.mark.skip()
201221
@parametrize
202222
async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None:
203223
async with async_client.environments.automations.tasks.executions.with_streaming_response.list() as response:
@@ -209,18 +229,21 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None:
209229

210230
assert cast(Any, response.is_closed) is True
211231

232+
@pytest.mark.skip()
212233
@parametrize
213234
async def test_method_stop(self, async_client: AsyncGitpod) -> None:
214235
execution = await async_client.environments.automations.tasks.executions.stop()
215236
assert_matches_type(object, execution, path=["response"])
216237

238+
@pytest.mark.skip()
217239
@parametrize
218240
async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> None:
219241
execution = await async_client.environments.automations.tasks.executions.stop(
220242
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
221243
)
222244
assert_matches_type(object, execution, path=["response"])
223245

246+
@pytest.mark.skip()
224247
@parametrize
225248
async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None:
226249
response = await async_client.environments.automations.tasks.executions.with_raw_response.stop()
@@ -230,6 +253,7 @@ async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None:
230253
execution = await response.parse()
231254
assert_matches_type(object, execution, path=["response"])
232255

256+
@pytest.mark.skip()
233257
@parametrize
234258
async def test_streaming_response_stop(self, async_client: AsyncGitpod) -> None:
235259
async with async_client.environments.automations.tasks.executions.with_streaming_response.stop() as response:

0 commit comments

Comments
 (0)