Skip to content

Commit ceafb65

Browse files
fix: disable tests (#6)
1 parent 5ae5c47 commit ceafb65

File tree

9 files changed

+200
-0
lines changed

9 files changed

+200
-0
lines changed

tests/api_resources/organizations/test_billing.py

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

20+
@pytest.mark.skip()
2021
@parametrize
2122
def test_method_invoices(self, client: Codex) -> None:
2223
billing = client.organizations.billing.invoices(
2324
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2425
)
2526
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
2627

28+
@pytest.mark.skip()
2729
@parametrize
2830
def test_raw_response_invoices(self, client: Codex) -> None:
2931
response = client.organizations.billing.with_raw_response.invoices(
@@ -35,6 +37,7 @@ def test_raw_response_invoices(self, client: Codex) -> None:
3537
billing = response.parse()
3638
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
3739

40+
@pytest.mark.skip()
3841
@parametrize
3942
def test_streaming_response_invoices(self, client: Codex) -> None:
4043
with client.organizations.billing.with_streaming_response.invoices(
@@ -48,20 +51,23 @@ def test_streaming_response_invoices(self, client: Codex) -> None:
4851

4952
assert cast(Any, response.is_closed) is True
5053

54+
@pytest.mark.skip()
5155
@parametrize
5256
def test_path_params_invoices(self, client: Codex) -> None:
5357
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
5458
client.organizations.billing.with_raw_response.invoices(
5559
"",
5660
)
5761

62+
@pytest.mark.skip()
5863
@parametrize
5964
def test_method_usage(self, client: Codex) -> None:
6065
billing = client.organizations.billing.usage(
6166
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
6267
)
6368
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
6469

70+
@pytest.mark.skip()
6571
@parametrize
6672
def test_raw_response_usage(self, client: Codex) -> None:
6773
response = client.organizations.billing.with_raw_response.usage(
@@ -73,6 +79,7 @@ def test_raw_response_usage(self, client: Codex) -> None:
7379
billing = response.parse()
7480
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
7581

82+
@pytest.mark.skip()
7683
@parametrize
7784
def test_streaming_response_usage(self, client: Codex) -> None:
7885
with client.organizations.billing.with_streaming_response.usage(
@@ -86,6 +93,7 @@ def test_streaming_response_usage(self, client: Codex) -> None:
8693

8794
assert cast(Any, response.is_closed) is True
8895

96+
@pytest.mark.skip()
8997
@parametrize
9098
def test_path_params_usage(self, client: Codex) -> None:
9199
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
@@ -97,13 +105,15 @@ def test_path_params_usage(self, client: Codex) -> None:
97105
class TestAsyncBilling:
98106
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
99107

108+
@pytest.mark.skip()
100109
@parametrize
101110
async def test_method_invoices(self, async_client: AsyncCodex) -> None:
102111
billing = await async_client.organizations.billing.invoices(
103112
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
104113
)
105114
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
106115

116+
@pytest.mark.skip()
107117
@parametrize
108118
async def test_raw_response_invoices(self, async_client: AsyncCodex) -> None:
109119
response = await async_client.organizations.billing.with_raw_response.invoices(
@@ -115,6 +125,7 @@ async def test_raw_response_invoices(self, async_client: AsyncCodex) -> None:
115125
billing = await response.parse()
116126
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
117127

128+
@pytest.mark.skip()
118129
@parametrize
119130
async def test_streaming_response_invoices(self, async_client: AsyncCodex) -> None:
120131
async with async_client.organizations.billing.with_streaming_response.invoices(
@@ -128,20 +139,23 @@ async def test_streaming_response_invoices(self, async_client: AsyncCodex) -> No
128139

129140
assert cast(Any, response.is_closed) is True
130141

142+
@pytest.mark.skip()
131143
@parametrize
132144
async def test_path_params_invoices(self, async_client: AsyncCodex) -> None:
133145
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
134146
await async_client.organizations.billing.with_raw_response.invoices(
135147
"",
136148
)
137149

150+
@pytest.mark.skip()
138151
@parametrize
139152
async def test_method_usage(self, async_client: AsyncCodex) -> None:
140153
billing = await async_client.organizations.billing.usage(
141154
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
142155
)
143156
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
144157

158+
@pytest.mark.skip()
145159
@parametrize
146160
async def test_raw_response_usage(self, async_client: AsyncCodex) -> None:
147161
response = await async_client.organizations.billing.with_raw_response.usage(
@@ -153,6 +167,7 @@ async def test_raw_response_usage(self, async_client: AsyncCodex) -> None:
153167
billing = await response.parse()
154168
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
155169

170+
@pytest.mark.skip()
156171
@parametrize
157172
async def test_streaming_response_usage(self, async_client: AsyncCodex) -> None:
158173
async with async_client.organizations.billing.with_streaming_response.usage(
@@ -166,6 +181,7 @@ async def test_streaming_response_usage(self, async_client: AsyncCodex) -> None:
166181

167182
assert cast(Any, response.is_closed) is True
168183

184+
@pytest.mark.skip()
169185
@parametrize
170186
async def test_path_params_usage(self, async_client: AsyncCodex) -> None:
171187
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):

0 commit comments

Comments
 (0)