Skip to content

Commit 4816283

Browse files
committed
tests: add compatibility with libcurl>=8.0.0
Signed-off-by: Florian Bezannier <[email protected]>
1 parent b2d77d9 commit 4816283

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_download.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def test_download_partials_without_resume(hawkbit, bundle_assigned, adjust_confi
8383
out, err, exitcode = run(f'rauc-hawkbit-updater -c "{config}" -r')
8484

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

8990
def test_download_partials_with_resume(hawkbit, bundle_assigned, adjust_config,

0 commit comments

Comments
 (0)