From b7165ed67d0cf29b4d4bfdbd6628a4b39661456a Mon Sep 17 00:00:00 2001 From: Henrique Date: Wed, 18 Dec 2024 20:03:10 -0300 Subject: [PATCH] [CI] Removed jpeg url from download tests and added new Downloader option --- tests/all.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/all.py b/tests/all.py index ca3a6fd..14972a1 100644 --- a/tests/all.py +++ b/tests/all.py @@ -27,16 +27,11 @@ class TestDownloader: @fixture def download_urls(self) -> List[str]: - return [ - 'https://httpbin.org/image/jpeg', - 'https://httpbin.org/image/png', - 'https://httpbin.org/image/svg', - 'https://httpbin.org/image/webp', - ] + return ['https://httpbin.org/image/png', 'https://httpbin.org/image/svg', 'https://httpbin.org/image/webp'] def test_file_download(self, download_urls: List[str]) -> None: downloader: Downloader = Downloader( - max_connections='auto', overwrite=True, show_progress_bar=True, custom_headers=None, timeout=10 + max_connections='auto', connection_speed=1000, overwrite=True, show_progress_bar=True, custom_headers=None, timeout=10 ) try: