code: def test_download_all_quicklooks(api, tmpdir, quicklook_products):
      ids = [product["id"] for product in quicklook_products]
  
      # Download normally
      (
          downloaded_quicklooks,
          failed_quicklooks,
      ) = api.download_all_quicklooks(
          ids, str(tmpdir), n_concurrent_dl=1
      )
      assert len(failed_quicklooks) == 0
      assert len(downloaded_quicklooks) == len(ids)
      for product_id, product_info in downloaded_quicklooks.items():
          pypath = py.path.local(product_info["path"])
          assert pypath.check(exists=1, file=1)
          assert pypath.purebasename in product_info["title"]
          assert pypath.size() == product_info["quicklook_size"]
  
      tmpdir.remove()
  
imports: import os
  import shutil
  import py.path
  import pytest
  import requests_mock
  from flaky import flaky
  from sentinelsat import SentinelAPI, make_path_filter
  from sentinelsat.exceptions import InvalidChecksumError, InvalidKeyError, LTAError, ServerError
label_desc: Use image node_id 11 for calling a global function with example usage: test_download_all_quicklooks(api, tmpdir, quicklook_products) without return types