File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 33
44import pytest
55from cuenca_validations .types import Country , Gender , State
6+ from cuenca_validations .types .enums import Profession
67
78import cuenca
89
@@ -49,15 +50,15 @@ def user_request() -> dict:
4950 curp = 'LOHJ660606HDFPRS02' ,
5051 phone_number = '+525511223344' ,
5152 email_address = 'jose@test.com' ,
52- profession = 'employee' ,
53+ profession = Profession . empleado ,
5354 address = dict (
5455 street = 'calle 1' ,
5556 ext_number = '2' ,
5657 int_number = '3' ,
57- postal_code = '09900' ,
58- state = State .DF .value ,
59- country = Country .MX ,
58+ postal_code_id = 'PC2ygq9j2bS9-9tsuVawzErA' ,
6059 ),
60+ phone_verification_id = 'VERdkuqOCjSA2PSS-VCj7HhQ' ,
61+ email_verification_id = 'VERppwdqsQSAQFFF-CDsWD8s' ,
6162 )
6263 return user_dict
6364
Original file line number Diff line number Diff line change 22
33import pytest
44from cuenca_validations .types import VerificationType
5+ from cuenca_validations .types .enums import Profession
56
67from cuenca import Verification
78from cuenca .resources import CurpValidation , User
@@ -30,7 +31,7 @@ def test_user_query():
3031def test_user_update ():
3132 user_id = 'USCM-zlFcNQk6ue4gZ_mTGeQ'
3233 changes = dict (
33- profession = 'programmer' ,
34+ profession = Profession . sistemas ,
3435 phone_number = '+525555555555' ,
3536 govt_id = dict (
3637 type = 'ine' ,
You can’t perform that action at this time.
0 commit comments