Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexviquez committed Sep 20, 2022
1 parent ee459da commit c52c5f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions mati/types/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ValidationType(SerializableEnum):
national_id = 'national-id'
passport = 'passport'
proof_of_residency = 'proof-of-residency'
liveness = 'video/mp4'


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion mati/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.5.dev2' # pragma: no cover
__version__ = '0.3.5.dev3' # pragma: no cover
7 changes: 1 addition & 6 deletions tests/resources/test_user_verification_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,12 @@ def test_ine_and_liveness_upload(identity: Identity):
content=live,
input_type=ValidationInputType.selfie_video,
)
user_validation_photo = UserValidationFile(
filename='selfie.jpg',
content=front,
input_type=ValidationInputType.selfie_photo,
)

resp = Verification.upload_validation_data(
[
user_validation_file,
user_validation_file_back,
user_validation_live,
user_validation_photo,
],
identity.id,
)
Expand Down

0 comments on commit c52c5f0

Please sign in to comment.