Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexviquez committed Jan 25, 2024
1 parent 03a5684 commit f168de1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pytest_lazyfixture import lazy_fixture

from mati.types import ValidationInputType
from mati.types.enums import VerificationDocumentStep


def test_type_to_str():
Expand Down Expand Up @@ -31,3 +32,9 @@ def test_type_to_str():
)
def test_document_type(verification_document, expected_type):
assert verification_document.document_type == expected_type


def test_excess_fields():
data = {'some': 'data', 'aditional': 'data', 'id': 'foo', 'status': 10}
step = VerificationDocumentStep._from_dict(data)
assert step

0 comments on commit f168de1

Please sign in to comment.