Skip to content

Commit d8ca983

Browse files
Merge pull request #82 from DiogoAndreBotas/add-tests-for-download-nfc-face-endpoint
Add tests for Download NFC Face endpoint
2 parents 2db45e9 + fc26dff commit d8ca983

3 files changed

Lines changed: 11783 additions & 4 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ def create_applicant(onfido_api, applicant_builder=None):
5757
return onfido_api.create_applicant(applicant_builder)
5858

5959

60-
def upload_document(onfido_api, applicant_id):
60+
def upload_document(onfido_api, applicant_id, file_path="tests/media/sample_driving_licence.png"):
6161
return onfido_api.upload_document(
6262
applicant_id=applicant_id,
6363
type=onfido.DocumentTypes.PASSPORT,
6464
side="front",
65-
file="tests/media/sample_driving_licence.png",
65+
file=file_path,
6666
)
6767

6868

0 commit comments

Comments
 (0)