code: def test_download_quicklook(api, tmpdir, quicklook_products):
      uuid = quicklook_products[0]["id"]
      filename = quicklook_products[0]["title"]
      expected_path = tmpdir.join(filename + ".jpeg")
      # import pdb; pdb.set_trace()
      # Download normally
      quicklook_info = api.download_quicklook(uuid, str(tmpdir))
      assert expected_path.samefile(quicklook_info["path"])
      assert quicklook_info["title"] == filename
      assert quicklook_info["quicklook_size"] == expected_path.size()
      assert quicklook_info["downloaded_bytes"] == expected_path.size()
  
      modification_time = expected_path.mtime()
      expected_quicklook_info = quicklook_info
  
      # File exists, expect nothing to happen
      quicklook_info = api.download_quicklook(uuid, str(tmpdir))
      assert expected_path.mtime() == modification_time
      expected_quicklook_info["downloaded_bytes"] = 0
      assert quicklook_info["quicklook_size"] == expected_path.size()
      assert quicklook_info == expected_quicklook_info
  
      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 10 for calling a global function with example usage: test_download_quicklook(api, tmpdir, quicklook_products) without return types