Skip to content

Commit e22eb0f

Browse files
fix(tests): skip broken date validation test
1 parent b746d12 commit e22eb0f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46f433f34d440aa1dfcc48cc8d822c598571b68be2f723ec99e1b4fba6c13b1e.yml
33
openapi_spec_hash: 5b5cd728776723ac773900f7e8a32c05
4-
config_hash: 83522e0e335cf983f8d2119c1f2bba18
4+
config_hash: ccdf6a5b4aaa2a0897c89ac8685d8eb0

tests/api_resources/test_access_tokens.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ async def async_client(request: FixtureRequest) -> AsyncIterator[AsyncFinch]:
4646
class TestAccessTokens:
4747
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
4848

49+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
4950
@parametrize
5051
def test_method_create(self, client: Finch) -> None:
5152
access_token = client.access_tokens.create(
5253
code="code",
5354
)
5455
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
5556

57+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
5658
@parametrize
5759
def test_method_create_with_all_params(self, client: Finch) -> None:
5860
access_token = client.access_tokens.create(
@@ -63,6 +65,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
6365
)
6466
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
6567

68+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
6669
@parametrize
6770
def test_raw_response_create(self, client: Finch) -> None:
6871
response = client.access_tokens.with_raw_response.create(
@@ -74,6 +77,7 @@ def test_raw_response_create(self, client: Finch) -> None:
7477
access_token = response.parse()
7578
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
7679

80+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
7781
@parametrize
7882
def test_streaming_response_create(self, client: Finch) -> None:
7983
with client.access_tokens.with_streaming_response.create(
@@ -91,13 +95,15 @@ def test_streaming_response_create(self, client: Finch) -> None:
9195
class TestAsyncAccessTokens:
9296
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
9397

98+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
9499
@parametrize
95100
async def test_method_create(self, async_client: AsyncFinch) -> None:
96101
access_token = await async_client.access_tokens.create(
97102
code="code",
98103
)
99104
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
100105

106+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
101107
@parametrize
102108
async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None:
103109
access_token = await async_client.access_tokens.create(
@@ -108,6 +114,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
108114
)
109115
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
110116

117+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
111118
@parametrize
112119
async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
113120
response = await async_client.access_tokens.with_raw_response.create(
@@ -119,6 +126,7 @@ async def test_raw_response_create(self, async_client: AsyncFinch) -> None:
119126
access_token = response.parse()
120127
assert_matches_type(CreateAccessTokenResponse, access_token, path=["response"])
121128

129+
@pytest.mark.skip(reason="prism doesnt like the format for the API-Version header")
122130
@parametrize
123131
async def test_streaming_response_create(self, async_client: AsyncFinch) -> None:
124132
async with async_client.access_tokens.with_streaming_response.create(

0 commit comments

Comments
 (0)