Skip to content

Commit 49175f9

Browse files
chore(test): update skip reason message
1 parent 2dbb983 commit 49175f9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/api_resources/test_events.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None:
6969

7070
assert cast(Any, response.is_closed) is True
7171

72-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
72+
@pytest.mark.skip(reason="Mock server tests are disabled")
7373
@parametrize
7474
def test_method_watch(self, client: Gitpod) -> None:
7575
event_stream = client.events.watch()
7676
assert_matches_type(JSONLDecoder[EventWatchResponse], event_stream, path=["response"])
7777

78-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
78+
@pytest.mark.skip(reason="Mock server tests are disabled")
7979
@parametrize
8080
def test_method_watch_with_all_params(self, client: Gitpod) -> None:
8181
event_stream = client.events.watch(
@@ -84,7 +84,7 @@ def test_method_watch_with_all_params(self, client: Gitpod) -> None:
8484
)
8585
assert_matches_type(JSONLDecoder[EventWatchResponse], event_stream, path=["response"])
8686

87-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
87+
@pytest.mark.skip(reason="Mock server tests are disabled")
8888
@parametrize
8989
def test_raw_response_watch(self, client: Gitpod) -> None:
9090
response = client.events.with_raw_response.watch()
@@ -93,7 +93,7 @@ def test_raw_response_watch(self, client: Gitpod) -> None:
9393
stream = response.parse()
9494
stream.close()
9595

96-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
96+
@pytest.mark.skip(reason="Mock server tests are disabled")
9797
@parametrize
9898
def test_streaming_response_watch(self, client: Gitpod) -> None:
9999
with client.events.with_streaming_response.watch() as response:
@@ -160,13 +160,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None:
160160

161161
assert cast(Any, response.is_closed) is True
162162

163-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
163+
@pytest.mark.skip(reason="Mock server tests are disabled")
164164
@parametrize
165165
async def test_method_watch(self, async_client: AsyncGitpod) -> None:
166166
event_stream = await async_client.events.watch()
167167
assert_matches_type(AsyncJSONLDecoder[EventWatchResponse], event_stream, path=["response"])
168168

169-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
169+
@pytest.mark.skip(reason="Mock server tests are disabled")
170170
@parametrize
171171
async def test_method_watch_with_all_params(self, async_client: AsyncGitpod) -> None:
172172
event_stream = await async_client.events.watch(
@@ -175,7 +175,7 @@ async def test_method_watch_with_all_params(self, async_client: AsyncGitpod) ->
175175
)
176176
assert_matches_type(AsyncJSONLDecoder[EventWatchResponse], event_stream, path=["response"])
177177

178-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
178+
@pytest.mark.skip(reason="Mock server tests are disabled")
179179
@parametrize
180180
async def test_raw_response_watch(self, async_client: AsyncGitpod) -> None:
181181
response = await async_client.events.with_raw_response.watch()
@@ -184,7 +184,7 @@ async def test_raw_response_watch(self, async_client: AsyncGitpod) -> None:
184184
stream = await response.parse()
185185
await stream.close()
186186

187-
@pytest.mark.skip(reason="Mock server doesn't support application/jsonl responses")
187+
@pytest.mark.skip(reason="Mock server tests are disabled")
188188
@parametrize
189189
async def test_streaming_response_watch(self, async_client: AsyncGitpod) -> None:
190190
async with async_client.events.with_streaming_response.watch() as response:

0 commit comments

Comments
 (0)