Skip to content

Commit a36266c

Browse files
feat(api): skip tests for 2 endpoints in 2 languages
1 parent 69bb5b7 commit a36266c

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 94
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-3e8f3a4664d48b3d546339018b451a356f8e20c223a2d21e7c3824fad4cddc7b.yml
33
openapi_spec_hash: c2b6637451a63e39c1f1042c6a7cc7f7
4-
config_hash: 2008af3064bfaa2ba7828708de5d97a8
4+
config_hash: 625db64572b7ee0ee1dd00546e53fc5f

tests/api_resources/messages/test_batch.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@ def test_streaming_response_archive(self, client: Knock) -> None:
5757

5858
assert cast(Any, response.is_closed) is True
5959

60+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
6061
@parametrize
6162
def test_method_get_content(self, client: Knock) -> None:
6263
batch = client.messages.batch.get_content(
6364
message_ids=["string"],
6465
)
6566
assert_matches_type(BatchGetContentResponse, batch, path=["response"])
6667

68+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
6769
@parametrize
6870
def test_raw_response_get_content(self, client: Knock) -> None:
6971
response = client.messages.batch.with_raw_response.get_content(
@@ -75,6 +77,7 @@ def test_raw_response_get_content(self, client: Knock) -> None:
7577
batch = response.parse()
7678
assert_matches_type(BatchGetContentResponse, batch, path=["response"])
7779

80+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
7881
@parametrize
7982
def test_streaming_response_get_content(self, client: Knock) -> None:
8083
with client.messages.batch.with_streaming_response.get_content(
@@ -319,13 +322,15 @@ async def test_streaming_response_archive(self, async_client: AsyncKnock) -> Non
319322

320323
assert cast(Any, response.is_closed) is True
321324

325+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
322326
@parametrize
323327
async def test_method_get_content(self, async_client: AsyncKnock) -> None:
324328
batch = await async_client.messages.batch.get_content(
325329
message_ids=["string"],
326330
)
327331
assert_matches_type(BatchGetContentResponse, batch, path=["response"])
328332

333+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
329334
@parametrize
330335
async def test_raw_response_get_content(self, async_client: AsyncKnock) -> None:
331336
response = await async_client.messages.batch.with_raw_response.get_content(
@@ -337,6 +342,7 @@ async def test_raw_response_get_content(self, async_client: AsyncKnock) -> None:
337342
batch = await response.parse()
338343
assert_matches_type(BatchGetContentResponse, batch, path=["response"])
339344

345+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
340346
@parametrize
341347
async def test_streaming_response_get_content(self, async_client: AsyncKnock) -> None:
342348
async with async_client.messages.batch.with_streaming_response.get_content(

tests/api_resources/tenants/test_bulk.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
class TestBulk:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
2021
@parametrize
2122
def test_method_delete(self, client: Knock) -> None:
2223
bulk = client.tenants.bulk.delete(
2324
tenant_ids=["string"],
2425
)
2526
assert_matches_type(BulkOperation, bulk, path=["response"])
2627

28+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
2729
@parametrize
2830
def test_raw_response_delete(self, client: Knock) -> None:
2931
response = client.tenants.bulk.with_raw_response.delete(
@@ -35,6 +37,7 @@ def test_raw_response_delete(self, client: Knock) -> None:
3537
bulk = response.parse()
3638
assert_matches_type(BulkOperation, bulk, path=["response"])
3739

40+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
3841
@parametrize
3942
def test_streaming_response_delete(self, client: Knock) -> None:
4043
with client.tenants.bulk.with_streaming_response.delete(
@@ -85,13 +88,15 @@ class TestAsyncBulk:
8588
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
8689
)
8790

91+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
8892
@parametrize
8993
async def test_method_delete(self, async_client: AsyncKnock) -> None:
9094
bulk = await async_client.tenants.bulk.delete(
9195
tenant_ids=["string"],
9296
)
9397
assert_matches_type(BulkOperation, bulk, path=["response"])
9498

99+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
95100
@parametrize
96101
async def test_raw_response_delete(self, async_client: AsyncKnock) -> None:
97102
response = await async_client.tenants.bulk.with_raw_response.delete(
@@ -103,6 +108,7 @@ async def test_raw_response_delete(self, async_client: AsyncKnock) -> None:
103108
bulk = await response.parse()
104109
assert_matches_type(BulkOperation, bulk, path=["response"])
105110

111+
@pytest.mark.skip(reason="Steady does not support bracket-style array query params")
106112
@parametrize
107113
async def test_streaming_response_delete(self, async_client: AsyncKnock) -> None:
108114
async with async_client.tenants.bulk.with_streaming_response.delete(

0 commit comments

Comments
 (0)