Skip to content

Commit d08bd61

Browse files
stainless-botRobertCraigie
authored andcommitted
chore(internal): update some test values (#60)
1 parent 6d58496 commit d08bd61

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

tests/api_resources/customers/test_costs.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def test_method_list_with_all_params(self, client: Orb) -> None:
3333
cost = client.customers.costs.list(
3434
"string",
3535
group_by="string",
36-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
37-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
36+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
37+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
3838
view_mode="periodic",
3939
)
4040
assert_matches_type(CostListResponse, cost, path=["response"])
@@ -60,8 +60,8 @@ def test_method_list_by_external_id_with_all_params(self, client: Orb) -> None:
6060
cost = client.customers.costs.list_by_external_id(
6161
"string",
6262
group_by="string",
63-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
64-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
63+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
64+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
6565
view_mode="periodic",
6666
)
6767
assert_matches_type(CostListByExternalIDResponse, cost, path=["response"])
@@ -93,8 +93,8 @@ async def test_method_list_with_all_params(self, client: AsyncOrb) -> None:
9393
cost = await client.customers.costs.list(
9494
"string",
9595
group_by="string",
96-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
97-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
96+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
97+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
9898
view_mode="periodic",
9999
)
100100
assert_matches_type(CostListResponse, cost, path=["response"])
@@ -120,8 +120,8 @@ async def test_method_list_by_external_id_with_all_params(self, client: AsyncOrb
120120
cost = await client.customers.costs.list_by_external_id(
121121
"string",
122122
group_by="string",
123-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
124-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
123+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
124+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
125125
view_mode="periodic",
126126
)
127127
assert_matches_type(CostListByExternalIDResponse, cost, path=["response"])

tests/api_resources/test_subscriptions.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ def test_method_fetch_costs_with_all_params(self, client: Orb) -> None:
205205
subscription = client.subscriptions.fetch_costs(
206206
"string",
207207
group_by="string",
208-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
209-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
208+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
209+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
210210
view_mode="periodic",
211211
)
212212
assert_matches_type(SubscriptionFetchCostsResponse, subscription, path=["response"])
@@ -271,8 +271,8 @@ def test_method_fetch_usage_with_all_params(self, client: Orb) -> None:
271271
limit=0,
272272
second_dimension_key="string",
273273
second_dimension_value="string",
274-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
275-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
274+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
275+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
276276
view_mode="periodic",
277277
)
278278
assert_matches_type(SubscriptionUsage, subscription, path=["response"])
@@ -917,8 +917,8 @@ async def test_method_fetch_costs_with_all_params(self, client: AsyncOrb) -> Non
917917
subscription = await client.subscriptions.fetch_costs(
918918
"string",
919919
group_by="string",
920-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
921-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
920+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
921+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
922922
view_mode="periodic",
923923
)
924924
assert_matches_type(SubscriptionFetchCostsResponse, subscription, path=["response"])
@@ -983,8 +983,8 @@ async def test_method_fetch_usage_with_all_params(self, client: AsyncOrb) -> Non
983983
limit=0,
984984
second_dimension_key="string",
985985
second_dimension_value="string",
986-
timeframe_end=parse_datetime("2019-12-27T18:11:19.117Z"),
987-
timeframe_start=parse_datetime("2019-12-27T18:11:19.117Z"),
986+
timeframe_end=parse_datetime("2022-03-01T05:00:00Z"),
987+
timeframe_start=parse_datetime("2022-02-01T05:00:00Z"),
988988
view_mode="periodic",
989989
)
990990
assert_matches_type(SubscriptionUsage, subscription, path=["response"])

0 commit comments

Comments
 (0)