Skip to content

Commit

Permalink
tests: add compatibility with libcurl>=8.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bezannier <[email protected]>
  • Loading branch information
flobz committed Oct 24, 2023
1 parent b2d77d9 commit 4816283
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def test_download_partials_without_resume(hawkbit, bundle_assigned, adjust_confi
out, err, exitcode = run(f'rauc-hawkbit-updater -c "{config}" -r')

assert 'Start downloading: ' in out
assert err.strip() == 'WARNING: Download failed: Transferred a partial file'
assert err.strip() in ['WARNING: Download failed: Transferred a partial file',
'WARNING: Download failed: Timeout was reached']
assert exitcode == 1

def test_download_partials_with_resume(hawkbit, bundle_assigned, adjust_config,
Expand Down

0 comments on commit 4816283

Please sign in to comment.