Skip to content

Commit 52b157d

Browse files
Merge pull request #108 from onfido/release-upgrade
Refresh onfido-python after onfido-openapi-spec update (4204f00)
2 parents 4c3e4a5 + dd8c3d9 commit 52b157d

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

.release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
44
"short_sha": "4204f00",
55
"long_sha": "4204f00a2c7f0f5bd61da3b5442d8eb613418e9e",
6-
"version": ""
6+
"version": "v6.0.0"
77
},
88
"release": "v6.0.0"
99
}

poetry.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_workflow_runs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ def test_find_workflow_run(onfido_api, workflow_run):
7272

7373

7474
def test_download_evidence_file(onfido_api, workflow_run):
75-
file = onfido_api.download_signed_evidence_file(workflow_run.id)
75+
file = repeat_request_until_http_code_changes(
76+
onfido_api.download_signed_evidence_file, [workflow_run.id], sleep_time=2
77+
)
7678

7779
assert len(file) > 0
7880
assert file[:4] == b"%PDF"
@@ -88,7 +90,7 @@ def test_download_evidence_folder(onfido_api, applicant_id):
8890
)
8991

9092
file = repeat_request_until_http_code_changes(
91-
onfido_api.download_evidence_folder, [workflow_run_id]
93+
onfido_api.download_evidence_folder, [workflow_run_id], sleep_time=2
9294
)
9395

9496
assert len(file) > 0

0 commit comments

Comments
 (0)