Commit graph

12 commits

Author SHA1 Message Date
Tomas Kopecek
9799a193c9 fix tests
Related: https://pagure.io/koji/issue/3711
2023-03-07 12:50:10 +01:00
Jana Cupova
952ddf4861 koji download-task retry download file
Fixes: https://pagure.io/koji/issue/3375
2022-06-14 15:39:37 +02:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
291f04301b download_archive / download_rpm methods for CLI
Fixes: https://pagure.io/koji/issue/1880
2020-03-25 14:03:47 +01:00
Tomas Kopecek
98b83eff69 fix downloads w/o content-length
Fixes: https://pagure.io/koji/issue/982
2019-11-25 14:51:08 +01:00
Jana Cupova
4f350cc26e Unit tests download_file with errors status code 2019-08-14 14:21:43 -04:00
Tomas Kopecek
c68396c059 Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Tomas Kopecek
bf0552e6de use contextlib wrapper for older python-requests 2017-10-16 10:03:42 -04:00
Tomas Kopecek
7e2cb6b156 replace pycurl with requests
Related: https://pagure.io/koji/issue/600
2017-10-16 10:03:42 -04:00
Yuming Zhu
ba087236dd cli: using PROGRESSFUNCTION before libcurl 7.32.0 in download_file 2017-08-08 12:26:22 -04:00
Yuming Zhu
5df1e3e6e6 cli: do not print extra blank line when noprogress passed 2017-08-08 12:26:22 -04:00
Yuming Zhu
dc0e0303f2 cli: unittest for download_file 2017-08-08 12:26:22 -04:00