cuenca 2.0.0.dev5__py3-none-any.whl → 2.0.0.dev7__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.
- cuenca/__init__.py +1 -3
- cuenca/resources/__init__.py +0 -2
- cuenca/resources/api_keys.py +6 -7
- cuenca/resources/arpc.py +3 -4
- cuenca/resources/base.py +67 -51
- cuenca/resources/card_activations.py +2 -5
- cuenca/resources/card_transactions.py +0 -1
- cuenca/resources/card_validations.py +2 -4
- cuenca/resources/cards.py +4 -5
- cuenca/resources/clabes.py +2 -2
- cuenca/resources/curp_validations.py +10 -14
- cuenca/resources/endpoints.py +5 -11
- cuenca/resources/file_batches.py +4 -5
- cuenca/resources/files.py +4 -15
- cuenca/resources/identities.py +2 -2
- cuenca/resources/kyc_validations.py +3 -4
- cuenca/resources/kyc_verifications.py +7 -8
- cuenca/resources/limited_wallets.py +5 -5
- cuenca/resources/login_tokens.py +3 -8
- cuenca/resources/otps.py +5 -4
- cuenca/resources/platforms.py +5 -7
- cuenca/resources/questionnaires.py +3 -4
- cuenca/resources/resources.py +1 -2
- cuenca/resources/savings.py +4 -6
- cuenca/resources/sessions.py +10 -14
- cuenca/resources/transfers.py +4 -5
- cuenca/resources/user_credentials.py +3 -8
- cuenca/resources/user_events.py +1 -0
- cuenca/resources/user_lists_validation.py +6 -10
- cuenca/resources/user_logins.py +3 -4
- cuenca/resources/users.py +11 -16
- cuenca/resources/verifications.py +5 -10
- cuenca/resources/wallet_transactions.py +2 -2
- cuenca/resources/webhooks.py +2 -6
- cuenca/version.py +1 -1
- {cuenca-2.0.0.dev5.dist-info → cuenca-2.0.0.dev7.dist-info}/METADATA +4 -4
- {cuenca-2.0.0.dev5.dist-info → cuenca-2.0.0.dev7.dist-info}/RECORD +46 -47
- tests/resources/test_api_keys.py +2 -2
- tests/resources/test_cards.py +0 -8
- tests/resources/test_endpoints.py +1 -1
- tests/resources/test_login_tokens.py +1 -1
- tests/resources/test_otps.py +1 -1
- tests/resources/test_sessions.py +1 -5
- cuenca/resources/jwt.py +0 -12
- {cuenca-2.0.0.dev5.dist-info → cuenca-2.0.0.dev7.dist-info}/LICENSE +0 -0
- {cuenca-2.0.0.dev5.dist-info → cuenca-2.0.0.dev7.dist-info}/WHEEL +0 -0
- {cuenca-2.0.0.dev5.dist-info → cuenca-2.0.0.dev7.dist-info}/top_level.txt +0 -0
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
cuenca/__init__.py,sha256=
|
|
1
|
+
cuenca/__init__.py,sha256=Lqmi5MUI4WQ1HWGTQOlpfh0Y3ujvJJ3vsvhBR2CPTno,1760
|
|
2
2
|
cuenca/exc.py,sha256=r_lL03-JS0AsXw71wuNbiwNYLHNDagM56tRxpYyK6Lw,601
|
|
3
3
|
cuenca/jwt.py,sha256=plB2ttHPZnL0xq3gqubw_Jjtj1QYG2E5bk99N3cn5zg,1502
|
|
4
4
|
cuenca/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
cuenca/version.py,sha256=
|
|
5
|
+
cuenca/version.py,sha256=chP36FkWzoNW7ka8aLLmRGqMpLTYF21JFjxOWYAIrXQ,83
|
|
6
6
|
cuenca/http/__init__.py,sha256=V5TG6Ro9d3VY7umzcbtanmvHlGkv-k71H0tqrdMyH-s,49
|
|
7
7
|
cuenca/http/client.py,sha256=psXJiSgd3SUSJ5jwvhdBWsVMNadenG353BNVXdh7HMY,4168
|
|
8
|
-
cuenca/resources/__init__.py,sha256=
|
|
8
|
+
cuenca/resources/__init__.py,sha256=pySyBur3jnWA5yfHFuVZfdnk6nROj3BsLRy7vVWXFoc,3019
|
|
9
9
|
cuenca/resources/accounts.py,sha256=5yfNxAHpxWFosoR4WrPrDGpBCRkaQk98V-w0wCPPXqU,345
|
|
10
|
-
cuenca/resources/api_keys.py,sha256=
|
|
11
|
-
cuenca/resources/arpc.py,sha256=
|
|
10
|
+
cuenca/resources/api_keys.py,sha256=7pARbgLtaOR_ZmUsToBok5c2QXyY05ysiU0SBN0eJok,2544
|
|
11
|
+
cuenca/resources/arpc.py,sha256=a9gGIgpBV8RK2ePSPBxI5c4ET4MtKH6Po_HRiv73B5k,1689
|
|
12
12
|
cuenca/resources/balance_entries.py,sha256=c2p9nXrKpMJ2xlQkTLP_ttycb1RitA979mP46mbZnEc,1073
|
|
13
|
-
cuenca/resources/base.py,sha256=
|
|
13
|
+
cuenca/resources/base.py,sha256=_DFyX6OOjhm2UO5KSCsupBJYHQYDNzhaZudvy1U8VS8,5742
|
|
14
14
|
cuenca/resources/bill_payments.py,sha256=spZSVCkLoJTOJIvfYim3R1JEUCvCKdRqLmr98M9y8oo,529
|
|
15
|
-
cuenca/resources/card_activations.py,sha256=
|
|
16
|
-
cuenca/resources/card_transactions.py,sha256=
|
|
17
|
-
cuenca/resources/card_validations.py,sha256=
|
|
18
|
-
cuenca/resources/cards.py,sha256=
|
|
15
|
+
cuenca/resources/card_activations.py,sha256=hesiP9PWC8pryEv4U-FOVOHZ_X9Il1VhX1dps8PBXUg,1290
|
|
16
|
+
cuenca/resources/card_transactions.py,sha256=3jrItWf4wOdY1Dd27gUwsrWqHUOXMzGeHzLt9MvW18o,1084
|
|
17
|
+
cuenca/resources/card_validations.py,sha256=g-ly5Jr2pvWZBIDWp6K9cR7A5YjEZ9PQPaYQRPshZp4,1909
|
|
18
|
+
cuenca/resources/cards.py,sha256=wEQo4H-W2qSelYbaaCfj4c2AbZYAzFyA1Y3FjjQZ-tA,3396
|
|
19
19
|
cuenca/resources/cash_references.py,sha256=ZVN4ed8pRV3u0BshE3OPJB76FMfLKWHm1rwnk2KvbLc,195
|
|
20
|
-
cuenca/resources/clabes.py,sha256=
|
|
20
|
+
cuenca/resources/clabes.py,sha256=mIWnOXLpUQMBRlhaoY5xv0vQXRnZz9basMD99RbUXuc,370
|
|
21
21
|
cuenca/resources/commissions.py,sha256=Fz5kHq7FPJl8Z0qiu5_z-Ws2jEPqGi1x2OOwXCCM-Yw,513
|
|
22
|
-
cuenca/resources/curp_validations.py,sha256=
|
|
22
|
+
cuenca/resources/curp_validations.py,sha256=LWJcu1ccoc6_t9ky0t8xqWepdpWSrUYIjW6a_8xJ_Rs,3506
|
|
23
23
|
cuenca/resources/deposits.py,sha256=8FINQJ3c0Zg8FAq7e1JZu9i8G40fX-Kmawhl7Ouxpx4,566
|
|
24
|
-
cuenca/resources/endpoints.py,sha256=
|
|
25
|
-
cuenca/resources/file_batches.py,sha256
|
|
26
|
-
cuenca/resources/files.py,sha256=
|
|
27
|
-
cuenca/resources/identities.py,sha256=
|
|
24
|
+
cuenca/resources/endpoints.py,sha256=121fGkJnb-xcv98hmMJSGqBMeqLSKu4zp-jSguo5RE4,3143
|
|
25
|
+
cuenca/resources/file_batches.py,sha256=2Fsmz8ryOjvLn3dpsyR0G2iS0zNVR4ajovNkaMZaHaM,786
|
|
26
|
+
cuenca/resources/files.py,sha256=neEo7TOw0M_FMeXd30UqAv-L54D3uMA8zczETzEWtKs,1789
|
|
27
|
+
cuenca/resources/identities.py,sha256=IdL495eTjx_2gDRxM9oG_QmDNOwaY7Nv9gzqeZu_Wdk,1092
|
|
28
28
|
cuenca/resources/identity_events.py,sha256=K1G6IEGlw6n482nZhBo_CJNBdpKFCO6duMQr5y9k4x8,374
|
|
29
|
-
cuenca/resources/
|
|
30
|
-
cuenca/resources/
|
|
31
|
-
cuenca/resources/
|
|
32
|
-
cuenca/resources/
|
|
33
|
-
cuenca/resources/
|
|
34
|
-
cuenca/resources/
|
|
35
|
-
cuenca/resources/
|
|
36
|
-
cuenca/resources/
|
|
37
|
-
cuenca/resources/
|
|
38
|
-
cuenca/resources/savings.py,sha256=iGREHJ58Ak0O49P9Clw_jCPUbJc3TUW9P8E2JB_Gg3c,1481
|
|
29
|
+
cuenca/resources/kyc_validations.py,sha256=1G_dr6e1mpLUlqT9RmBgiC06eh0vQjMzosM5w3ZCQoE,1322
|
|
30
|
+
cuenca/resources/kyc_verifications.py,sha256=ysvVS9zdvFZ1Wyh2G_cr_IMwYeLW5BRLVyAt46hTk4g,1563
|
|
31
|
+
cuenca/resources/limited_wallets.py,sha256=Z3pKMRmMFTAaCw-KdzGSWfYFHCpy-ZrBwOmalVfSdRU,1049
|
|
32
|
+
cuenca/resources/login_tokens.py,sha256=WgNynC03TYwih37j26TO8nZI3fAAQ6IC-RJEn_CXEtU,668
|
|
33
|
+
cuenca/resources/otps.py,sha256=0LXYSNwI16Xsi8N7rmO8NHggSou8F2IWPQR5h2fAzf8,618
|
|
34
|
+
cuenca/resources/platforms.py,sha256=ztGcI-cNnushMRqKqjPaZg_ioS1bpR4vR88osHAyYXw,2560
|
|
35
|
+
cuenca/resources/questionnaires.py,sha256=TKICPHghEhER83byMhe75Wb798K5veqv47RafYA5VOM,1043
|
|
36
|
+
cuenca/resources/resources.py,sha256=sDkVwN-RguyoQXJhSYCa95Cem1AUmcgMJeFJveVf6Q0,912
|
|
37
|
+
cuenca/resources/savings.py,sha256=3DBP1ygxhcScDpLvAQS_fF5chljyDTz4xwnltI0LCAg,1433
|
|
39
38
|
cuenca/resources/service_providers.py,sha256=x-FNcyiUkdUsNCGudyLGYDbRkD2jPj8-T8U3IumxTVQ,310
|
|
40
|
-
cuenca/resources/sessions.py,sha256=
|
|
39
|
+
cuenca/resources/sessions.py,sha256=eYb5jI7linDAG-mlOe8YE1PJ6Of5kK--pz6FAwK7mV4,1602
|
|
41
40
|
cuenca/resources/statements.py,sha256=PqMvhoE9cvBneXjaS7w4JnTzYdDakkCkbdNYrd7b8LI,282
|
|
42
|
-
cuenca/resources/transfers.py,sha256=
|
|
43
|
-
cuenca/resources/user_credentials.py,sha256=
|
|
44
|
-
cuenca/resources/user_events.py,sha256=
|
|
45
|
-
cuenca/resources/user_lists_validation.py,sha256=
|
|
46
|
-
cuenca/resources/user_logins.py,sha256=
|
|
47
|
-
cuenca/resources/users.py,sha256=
|
|
48
|
-
cuenca/resources/verifications.py,sha256=
|
|
49
|
-
cuenca/resources/wallet_transactions.py,sha256=
|
|
50
|
-
cuenca/resources/webhooks.py,sha256=
|
|
41
|
+
cuenca/resources/transfers.py,sha256=v742SAGUIZfvYHfCNtk0hSm2uyhMGh00RbHIIJiqLzQ,3201
|
|
42
|
+
cuenca/resources/user_credentials.py,sha256=eXjnXF3skklRF6SpAAv6c3ZXLnz61nbbhyds938dSkE,1165
|
|
43
|
+
cuenca/resources/user_events.py,sha256=L57v7clStwxyJX2vwe-357uRTrzeQglDpCCgXRg7v9Y,728
|
|
44
|
+
cuenca/resources/user_lists_validation.py,sha256=eOADDHKg-RthgeO50Edh4VQtQcNl2tHvdmXMYuGpsCA,1275
|
|
45
|
+
cuenca/resources/user_logins.py,sha256=G78OPnxiOd4AVdBsk6UkEH2za-k3IPghRklTiElHYcc,1411
|
|
46
|
+
cuenca/resources/users.py,sha256=RNrh6-_0aqde_-7LAA50a3fwE3krKqu1PQh0Cn_8iUE,6253
|
|
47
|
+
cuenca/resources/verifications.py,sha256=YyvSh5IpiJ02lHK8k-guTwoHSFoaMYSFk1aC2tPi7n0,1680
|
|
48
|
+
cuenca/resources/wallet_transactions.py,sha256=8ePZI3-GaEd658GPYizAfHK9GVwlkt1r95-mEb7T3Jg,1030
|
|
49
|
+
cuenca/resources/webhooks.py,sha256=bGjuvkSP3GXo4Q6v8iZ40Md8xc4AQrEmAD3r40VJqxM,392
|
|
51
50
|
cuenca/resources/whatsapp_transfers.py,sha256=YSL606FBOMGKjhyKK5TiF0di96zdDKoiVtjiz_Zl_ZI,902
|
|
52
51
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
52
|
tests/conftest.py,sha256=xrQtFNkqWG4KG35HorTD5N3-QUL98CAXqmLxu93haKI,1769
|
|
@@ -58,20 +57,20 @@ tests/http/conftest.py,sha256=TnVfv_s0eXC55HSJQotxIqV2Rl2WbgNt5Ow6z-ZOjZE,177
|
|
|
58
57
|
tests/http/test_client.py,sha256=y0dhBDG4ZKbIvN_TENFGT920mzxwI535imQ99UuqgC0,2594
|
|
59
58
|
tests/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
59
|
tests/resources/test_accounts.py,sha256=q7dD3k9Qj4qnl9v3aXmYSw6ShkLKD2W9FViFU_6VFeY,313
|
|
61
|
-
tests/resources/test_api_keys.py,sha256=
|
|
60
|
+
tests/resources/test_api_keys.py,sha256=1ipbhYGoho_12MnM9UKr5zHNPUk7s_JCXowv5TkmKwo,2272
|
|
62
61
|
tests/resources/test_arpc.py,sha256=4lRd8fO5vf8rvoh1V8Rw9qjw__fdZCeIh4IEYlU0k5o,489
|
|
63
62
|
tests/resources/test_balance_entries.py,sha256=myoHpr3XSef_smUijS60EXW7YHcmr6m9b6B_BVW-JtY,643
|
|
64
63
|
tests/resources/test_bill_payments.py,sha256=TnvrTPtCPOvKPGC5G1zI0fng3HXyTdKegCOvoYDHc9s,340
|
|
65
64
|
tests/resources/test_card_activations.py,sha256=_gUgKBo-I8qwUlu-Pme1t7_cLBL6wnPHKOFVBGco51U,1072
|
|
66
65
|
tests/resources/test_card_transactions.py,sha256=ZngQkCJyn3KNk7raA91N9n58WiPRQ6HNnNwWW7h4WyQ,1161
|
|
67
66
|
tests/resources/test_card_validations.py,sha256=xc6II9fUnISFbchAq-4gjxzM6giMZ4hEIPBuKqpc2hs,838
|
|
68
|
-
tests/resources/test_cards.py,sha256=
|
|
67
|
+
tests/resources/test_cards.py,sha256=ejL_LlgQONMWAx_abJGV-9DFMpJHRC6IfIrYXsC1ys0,3138
|
|
69
68
|
tests/resources/test_cash_references.py,sha256=mp5BXY5SWH0eJDMGDubLt4yVCBoiq9hU5LLHgMFPrwc,391
|
|
70
69
|
tests/resources/test_clabes.py,sha256=iUO09_qdQA5B6DU7235qniC8TEdhWAMYXjkTFwRhSNI,458
|
|
71
70
|
tests/resources/test_commissions.py,sha256=cdRP9LHPUlX-OB_AMDrYux9G_2xYKIUfKqirGVxeygM,1035
|
|
72
71
|
tests/resources/test_curp_validations.py,sha256=5GvPrgQGfzD8JCtCdQDz4023Q2caonLbirn7_gZMXow,530
|
|
73
72
|
tests/resources/test_deposits.py,sha256=LQxg3PYQsyl2f8naPUAKvXnAanZszFlGFsa4WDRvouc,262
|
|
74
|
-
tests/resources/test_endpoints.py,sha256=
|
|
73
|
+
tests/resources/test_endpoints.py,sha256=prAB6FRYOnkXDOq-LACyTtUXJr_Cq_MmWxyM5awrW24,1509
|
|
75
74
|
tests/resources/test_file_batches.py,sha256=xcVeWZns4j3_RPZEv8W1Ws4-bcaxOXTQzFyUpKGVmxM,981
|
|
76
75
|
tests/resources/test_files.py,sha256=2VSlvYnGHrw--mYNvA6hlpEw-olbW_Hlq2d4vdn8v7M,961
|
|
77
76
|
tests/resources/test_identities.py,sha256=0osumiLrzKkGG4XLlL4nIdSp_nGutHaPf55w_IVREps,454
|
|
@@ -79,14 +78,14 @@ tests/resources/test_identity_events.py,sha256=BZlM2RXKtCORdTDQCemY3NAR3KWb3mPNq
|
|
|
79
78
|
tests/resources/test_kyc_validations.py,sha256=TEyS6encW-InRpcAR4nDCfmkqqnn8yMC9AaS3iWm8Xw,420
|
|
80
79
|
tests/resources/test_kyc_verifications.py,sha256=Y-ZU61o18I_3NFqMN2w4WGZTzwsIhULAtESqIXiizUY,634
|
|
81
80
|
tests/resources/test_limited_wallets.py,sha256=c0zDDOip3lJk8chbcGr_nWCdkO9yuL_HbD1IikR5jH4,527
|
|
82
|
-
tests/resources/test_login_tokens.py,sha256=
|
|
83
|
-
tests/resources/test_otps.py,sha256=
|
|
81
|
+
tests/resources/test_login_tokens.py,sha256=kn0gXFOanIXjgKjbeOzfNyKsGAUkc2iKnuVmzIRaMD8,572
|
|
82
|
+
tests/resources/test_otps.py,sha256=IpCczDNRL_WaWwc1rYbSRmtWMR7GMa-Pfbq2TZcZQDw,616
|
|
84
83
|
tests/resources/test_platforms.py,sha256=5b6-XC3uAz8GARFkFoanH62jxE1uJIMXcdpeUhmI8Kg,211
|
|
85
84
|
tests/resources/test_questionnaires.py,sha256=Sl8YHXgL42xiijUncycOUzGu5MtI3jEnhADS8Nol6N8,321
|
|
86
85
|
tests/resources/test_resources.py,sha256=rTcfjZOxujOJXjfqvOV6TPpYl8lae4bgbZj4jTAWm_o,170
|
|
87
86
|
tests/resources/test_savings.py,sha256=2qlGo9Qy_bqwYfMmjf9OsPIPVWRb6zlkzaMgg5RWElk,1127
|
|
88
87
|
tests/resources/test_service_providers.py,sha256=yhjTvRdVaTpwEHLVtvX8OD6bMef2W9wUI8MRwLY-i64,563
|
|
89
|
-
tests/resources/test_sessions.py,sha256=
|
|
88
|
+
tests/resources/test_sessions.py,sha256=t9ljOiTbtrkpf_zh15LomK_JkJJDy8q8SdiVLw2pZ2k,1275
|
|
90
89
|
tests/resources/test_statements.py,sha256=e9S_yn5kD6M8IpfpRmIOJ0Y6aggBkYWQxynY6P7Q7nI,370
|
|
91
90
|
tests/resources/test_transfers.py,sha256=bW3igYOdYPDiZtLr8WVIYwfP-dV4sdJ9pbaXFps2ac8,4161
|
|
92
91
|
tests/resources/test_user_credentials.py,sha256=WbK20aprlT3P_IEOwplvhIYnLfTgGhK3Q3Tu6Tf129c,809
|
|
@@ -98,8 +97,8 @@ tests/resources/test_verifications.py,sha256=yyL-bdryQU3MvqnmAgnnzGG9t7UTxWwPiVu
|
|
|
98
97
|
tests/resources/test_wallet_transactions.py,sha256=_L2hjPHT4FwwhxksUoaoVHwFFYOGWfF4ScCbk0kb7Hw,3945
|
|
99
98
|
tests/resources/test_webhooks.py,sha256=nYCqAnlNJcMJKRHhgoHOWTQnFLWQHHvFyY8GVCxGTD8,328
|
|
100
99
|
tests/resources/test_whatsapp_transfers.py,sha256=4Dmrsbytx7LRrLQo9M8TAL7cGKJufPStkp51UdRCnYU,1030
|
|
101
|
-
cuenca-2.0.0.
|
|
102
|
-
cuenca-2.0.0.
|
|
103
|
-
cuenca-2.0.0.
|
|
104
|
-
cuenca-2.0.0.
|
|
105
|
-
cuenca-2.0.0.
|
|
100
|
+
cuenca-2.0.0.dev7.dist-info/LICENSE,sha256=aWv5PmUiAcNENEAdghcVQSeU56pXJHWexJYgklK9XLg,1063
|
|
101
|
+
cuenca-2.0.0.dev7.dist-info/METADATA,sha256=6n9pj2QpAMWwwxS3xbm4Y05F8MSo_9rnLwl1iAQnZjk,4966
|
|
102
|
+
cuenca-2.0.0.dev7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
103
|
+
cuenca-2.0.0.dev7.dist-info/top_level.txt,sha256=5h3K7XJTmJniDloPq4sIJHni_xLw-Uoc6ZJ5mcw_lZY,13
|
|
104
|
+
cuenca-2.0.0.dev7.dist-info/RECORD,,
|
tests/resources/test_api_keys.py
CHANGED
|
@@ -18,7 +18,7 @@ def test_api_keys_retrieve():
|
|
|
18
18
|
id_key = 'AKMPSxy2UeSKqU1J6spDNwqA'
|
|
19
19
|
api_key: ApiKey = ApiKey.retrieve(id_key)
|
|
20
20
|
assert api_key.id == id_key
|
|
21
|
-
assert api_key.secret
|
|
21
|
+
assert api_key.secret == '********'
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
@pytest.mark.vcr
|
|
@@ -84,7 +84,7 @@ def test_api_key_from_dict():
|
|
|
84
84
|
metadata=None,
|
|
85
85
|
user_id=None,
|
|
86
86
|
)
|
|
87
|
-
api_key = ApiKey
|
|
87
|
+
api_key = ApiKey(**api_keys_dict)
|
|
88
88
|
assert not hasattr(api_key, 'extra_field_1')
|
|
89
89
|
assert not hasattr(api_key, 'extra_field_2')
|
|
90
90
|
assert api_key.id is not None
|
tests/resources/test_cards.py
CHANGED
|
@@ -79,14 +79,6 @@ def test_card_not_found():
|
|
|
79
79
|
assert exc.value.json['Code'] == 'NotFoundError'
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
@pytest.mark.vcr
|
|
83
|
-
def test_card_one():
|
|
84
|
-
card = Card.one(
|
|
85
|
-
number='5448750078699849', exp_month=2, exp_year=2026, cvv2='353'
|
|
86
|
-
)
|
|
87
|
-
assert card.id
|
|
88
|
-
|
|
89
|
-
|
|
90
82
|
@pytest.mark.vcr
|
|
91
83
|
def test_card_one_errors():
|
|
92
84
|
with pytest.raises(NoResultFound):
|
|
@@ -43,7 +43,7 @@ def test_endpoint_update():
|
|
|
43
43
|
)
|
|
44
44
|
assert endpoint.id == id_endpoint
|
|
45
45
|
assert len(endpoint.events) == 2
|
|
46
|
-
assert endpoint.url == 'https://url.io/'
|
|
46
|
+
assert endpoint.url.unicode_string() == 'https://url.io/'
|
|
47
47
|
assert not endpoint.is_enable
|
|
48
48
|
assert endpoint.is_active
|
|
49
49
|
|
|
@@ -20,5 +20,5 @@ def test_login_token(session):
|
|
|
20
20
|
UserLogin.create('222222', session=session)
|
|
21
21
|
login_token = LoginToken.create(session=session)
|
|
22
22
|
session.headers.pop('X-Cuenca-LoginId')
|
|
23
|
-
session.configure(login_token=login_token.id
|
|
23
|
+
session.configure(login_token=login_token.id)
|
|
24
24
|
Transfer.count(session=session)
|
tests/resources/test_otps.py
CHANGED
tests/resources/test_sessions.py
CHANGED
|
@@ -32,12 +32,8 @@ def test_session_create(curp_validation_request: dict, user_request: dict):
|
|
|
32
32
|
|
|
33
33
|
assert user_session.user_id == user.id
|
|
34
34
|
assert user_session.type == SessionType.registration
|
|
35
|
-
assert user_session.success_url == success_url
|
|
36
|
-
assert user_session.failure_url == failure_url
|
|
37
35
|
|
|
38
36
|
ephimeral_cuenca_session = cuenca.http.Session()
|
|
39
|
-
ephimeral_cuenca_session.configure(
|
|
40
|
-
session_token=user_session.id.get_secret_value()
|
|
41
|
-
)
|
|
37
|
+
ephimeral_cuenca_session.configure(session_token=user_session.id)
|
|
42
38
|
user = User.update(user.id, email_address='manu@example.com')
|
|
43
39
|
assert user.email_address == 'manu@example.com'
|
cuenca/resources/jwt.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|