jaseci 1.4.2.3__py3-none-any.whl → 1.4.2.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jaseci might be problematic. Click here for more details.
- jaseci/VERSION +1 -1
- jaseci/extens/act_lib/stripe.py +7 -0
- jaseci/tests/test_stripe.py +5 -0
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/METADATA +1 -1
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/RECORD +9 -9
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/LICENSE +0 -0
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/WHEEL +0 -0
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/entry_points.txt +0 -0
- {jaseci-1.4.2.3.dist-info → jaseci-1.4.2.4.dist-info}/top_level.txt +0 -0
jaseci/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.4.2.
|
|
1
|
+
1.4.2.4
|
jaseci/extens/act_lib/stripe.py
CHANGED
|
@@ -194,6 +194,13 @@ def subscription_item_create_usage_record(
|
|
|
194
194
|
)
|
|
195
195
|
|
|
196
196
|
|
|
197
|
+
@jaseci_action()
|
|
198
|
+
def subscription_item_retrieve(subscription_item_id: str, **kwargs):
|
|
199
|
+
"""retrieve subscription item"""
|
|
200
|
+
|
|
201
|
+
return stripe().SubscriptionItem.retrieve(subscription_item_id, **kwargs)
|
|
202
|
+
|
|
203
|
+
|
|
197
204
|
@jaseci_action()
|
|
198
205
|
def checkout_session_create(success_url: str, mode: str, **kwargs):
|
|
199
206
|
return stripe().checkout.Session.create(
|
jaseci/tests/test_stripe.py
CHANGED
|
@@ -44,6 +44,7 @@ class StripeTests(CoreTest):
|
|
|
44
44
|
stripe.Invoice.retrieve = Mock()
|
|
45
45
|
stripe.SubscriptionItem.create_usage_record = Mock()
|
|
46
46
|
stripe.SubscriptionItem.list_usage_record_summaries = Mock()
|
|
47
|
+
stripe.SubscriptionItem.retrieve = Mock()
|
|
47
48
|
stripe.checkout.Session.create = Mock()
|
|
48
49
|
stripe.billing_portal.Session.create = Mock()
|
|
49
50
|
|
|
@@ -204,6 +205,10 @@ class StripeTests(CoreTest):
|
|
|
204
205
|
def test_stripe_list_usage_report(self, ret):
|
|
205
206
|
stripe.SubscriptionItem.list_usage_record_summaries.assert_called()
|
|
206
207
|
|
|
208
|
+
@jac_testcase("stripe.jac", "subscription_item_retrieve")
|
|
209
|
+
def test_stripe_subscription_item_retrieve(self, ret):
|
|
210
|
+
stripe.SubscriptionItem.retrieve.assert_called()
|
|
211
|
+
|
|
207
212
|
@jac_testcase("stripe.jac", "create_checkout_session")
|
|
208
213
|
def test_stripe_create_checkout_session(self, ret):
|
|
209
214
|
stripe.checkout.Session.create.assert_called_once_with(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
jaseci/VERSION,sha256=
|
|
1
|
+
jaseci/VERSION,sha256=jb7Q5Lft1vzgPwZl738BEu-mxemfeweG3QKnWHSYbBk,8
|
|
2
2
|
jaseci/__init__.py,sha256=tFVuF0i901L-YymidhuSjyE24IWOhIiJA5G18DuAP2g,1246
|
|
3
3
|
jaseci/cli_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
jaseci/cli_tools/book_tools.py,sha256=4xeNRhKufKJgAaKI5miPTezdBDWeA-iB_H5F5cqyIB8,16103
|
|
@@ -21,7 +21,7 @@ jaseci/extens/act_lib/regex.py,sha256=bY8cpdNf-uYknQwAP2B4EBv9pvtnbhmdd5jBlB3QHQ
|
|
|
21
21
|
jaseci/extens/act_lib/request.py,sha256=ORxgNBgp2-O-b4pRO1dGjm1R3xjjJj4k9D-iSGzU2Ck,3953
|
|
22
22
|
jaseci/extens/act_lib/std.py,sha256=oXyPvlLAKRFuVM0i5Xt3eoguhBmNGh6L1zIHAZgtRPs,5915
|
|
23
23
|
jaseci/extens/act_lib/storage.py,sha256=pxHm71nxR_tWSCsDG7midc9hDuy4vsg8JRkcLy9y3hg,1330
|
|
24
|
-
jaseci/extens/act_lib/stripe.py,sha256=
|
|
24
|
+
jaseci/extens/act_lib/stripe.py,sha256=Vs7oPo2PSpgm42t-Moy_mmuoRyUEzsXdCpVnKR9lioA,8190
|
|
25
25
|
jaseci/extens/act_lib/task.py,sha256=rTg6qHvliMbkJh54_zVxiae-HcgLcqSvzX3BMktrJRY,376
|
|
26
26
|
jaseci/extens/act_lib/url.py,sha256=8ancdLY1N7f9vGGGLYVlKlf_AMuE-c7a6vAdt9aCpss,1851
|
|
27
27
|
jaseci/extens/act_lib/vector.py,sha256=ekTtYx3sHP6j23m1otVeKfqWynfLNsGg6271IIvfE-I,4636
|
|
@@ -162,7 +162,7 @@ jaseci/tests/test_jac.py,sha256=bE6FLhLV0-TnxLlS7HdPxe65wMj65Pa_qGLySpuVIJA,3275
|
|
|
162
162
|
jaseci/tests/test_node.py,sha256=tXnRbc3lHGPidzE45BIF1LiTkC5aB5idxbyzRj06Ufs,3710
|
|
163
163
|
jaseci/tests/test_progs.py,sha256=bnShoB-aFVf6hxCqH771vAR0XQvZwALeHBVD6UVd0dM,25398
|
|
164
164
|
jaseci/tests/test_stack.py,sha256=CrNbcRpRA5jhQw44wKsjWwfgbMXodJglY48TyoNYu5U,8453
|
|
165
|
-
jaseci/tests/test_stripe.py,sha256=
|
|
165
|
+
jaseci/tests/test_stripe.py,sha256=c-H4h0nzfDdnvKWHVrXeUNz_RiBAPa9sHWH6RE7JDnc,8911
|
|
166
166
|
jaseci/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
167
|
jaseci/utils/file_handler.py,sha256=b1_zCVO37h1eKjaa_P9jKkx0lwJfrsWKRGkv68lYpY8,4797
|
|
168
168
|
jaseci/utils/gprof2dot.py,sha256=NwoCm318NFS169fvJhfltsIINxzpd6bS7_9b1-Fy4Xg,119142
|
|
@@ -175,9 +175,9 @@ jaseci/utils/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
175
175
|
jaseci/utils/actions/actions_manager.py,sha256=sKfWk9zRpDpkLo3-mKpVMKrqx7kpRG7hRi5tfDTcqb8,8527
|
|
176
176
|
jaseci/utils/actions/actions_optimizer.py,sha256=ddj6zF6pfcYD3OeLiOBTeDU07764-bLy7RXn7c71JrI,21564
|
|
177
177
|
jaseci/utils/actions/actions_state.py,sha256=5p080-DtDXS9QUd2FwkrtN6-7LBqT2tmJDOKVKjDEbU,2963
|
|
178
|
-
jaseci-1.4.2.
|
|
179
|
-
jaseci-1.4.2.
|
|
180
|
-
jaseci-1.4.2.
|
|
181
|
-
jaseci-1.4.2.
|
|
182
|
-
jaseci-1.4.2.
|
|
183
|
-
jaseci-1.4.2.
|
|
178
|
+
jaseci-1.4.2.4.dist-info/LICENSE,sha256=2b_qOOd7ak6x49HwOzCAmRLSPJehiBJdqj9HDX1Jp7U,1072
|
|
179
|
+
jaseci-1.4.2.4.dist-info/METADATA,sha256=DVd_7Aha7L8IILSg3RVqsFJIqCEoxwzlyNL43DgjrAs,1112
|
|
180
|
+
jaseci-1.4.2.4.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
181
|
+
jaseci-1.4.2.4.dist-info/entry_points.txt,sha256=nryZyKQLUJzlTOcA9knRGoXHGmNUCQxvvuDIEj5ePyg,88
|
|
182
|
+
jaseci-1.4.2.4.dist-info/top_level.txt,sha256=0WZh7RF_ruiaZHQSi8IWOiLRUvKKDlhcnLe-by6EyFc,7
|
|
183
|
+
jaseci-1.4.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|