Skip to content

Commit a0d4366

Browse files
chore(tests): improve enum examples (#617)
1 parent de565f2 commit a0d4366

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/api_resources/test_subscriptions.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_method_create_with_all_params(self, client: Orb) -> None:
5959
{
6060
"allocation_price": {
6161
"amount": "10.00",
62-
"cadence": "one_time",
62+
"cadence": "monthly",
6363
"currency": "USD",
6464
"expires_at_end_of_cadence": True,
6565
},
@@ -153,7 +153,7 @@ def test_method_create_with_all_params(self, client: Orb) -> None:
153153
"replaces_price_id": "replaces_price_id",
154154
"allocation_price": {
155155
"amount": "10.00",
156-
"cadence": "one_time",
156+
"cadence": "monthly",
157157
"currency": "USD",
158158
"expires_at_end_of_cadence": True,
159159
},
@@ -580,7 +580,7 @@ def test_method_price_intervals_with_all_params(self, client: Orb) -> None:
580580
"start_date": parse_datetime("2019-12-27T18:11:19.117Z"),
581581
"allocation_price": {
582582
"amount": "10.00",
583-
"cadence": "one_time",
583+
"cadence": "monthly",
584584
"currency": "USD",
585585
"expires_at_end_of_cadence": True,
586586
},
@@ -731,7 +731,7 @@ def test_method_schedule_plan_change_with_all_params(self, client: Orb) -> None:
731731
{
732732
"allocation_price": {
733733
"amount": "10.00",
734-
"cadence": "one_time",
734+
"cadence": "monthly",
735735
"currency": "USD",
736736
"expires_at_end_of_cadence": True,
737737
},
@@ -820,7 +820,7 @@ def test_method_schedule_plan_change_with_all_params(self, client: Orb) -> None:
820820
"replaces_price_id": "replaces_price_id",
821821
"allocation_price": {
822822
"amount": "10.00",
823-
"cadence": "one_time",
823+
"cadence": "monthly",
824824
"currency": "USD",
825825
"expires_at_end_of_cadence": True,
826826
},
@@ -1205,7 +1205,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncOrb) -> No
12051205
{
12061206
"allocation_price": {
12071207
"amount": "10.00",
1208-
"cadence": "one_time",
1208+
"cadence": "monthly",
12091209
"currency": "USD",
12101210
"expires_at_end_of_cadence": True,
12111211
},
@@ -1299,7 +1299,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncOrb) -> No
12991299
"replaces_price_id": "replaces_price_id",
13001300
"allocation_price": {
13011301
"amount": "10.00",
1302-
"cadence": "one_time",
1302+
"cadence": "monthly",
13031303
"currency": "USD",
13041304
"expires_at_end_of_cadence": True,
13051305
},
@@ -1726,7 +1726,7 @@ async def test_method_price_intervals_with_all_params(self, async_client: AsyncO
17261726
"start_date": parse_datetime("2019-12-27T18:11:19.117Z"),
17271727
"allocation_price": {
17281728
"amount": "10.00",
1729-
"cadence": "one_time",
1729+
"cadence": "monthly",
17301730
"currency": "USD",
17311731
"expires_at_end_of_cadence": True,
17321732
},
@@ -1877,7 +1877,7 @@ async def test_method_schedule_plan_change_with_all_params(self, async_client: A
18771877
{
18781878
"allocation_price": {
18791879
"amount": "10.00",
1880-
"cadence": "one_time",
1880+
"cadence": "monthly",
18811881
"currency": "USD",
18821882
"expires_at_end_of_cadence": True,
18831883
},
@@ -1966,7 +1966,7 @@ async def test_method_schedule_plan_change_with_all_params(self, async_client: A
19661966
"replaces_price_id": "replaces_price_id",
19671967
"allocation_price": {
19681968
"amount": "10.00",
1969-
"cadence": "one_time",
1969+
"cadence": "monthly",
19701970
"currency": "USD",
19711971
"expires_at_end_of_cadence": True,
19721972
},

0 commit comments

Comments
 (0)