Skip to content

Commit

Permalink
[CI] Removed jpeg url from download tests and added new Downloader op…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
henrique-coder committed Dec 18, 2024
1 parent 6d53ec8 commit b7165ed
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b7165ed

Please sign in to comment.