code: def test_cloud_flag_url(run_cli, geojson_path):
      command = [
          "--geometry",
          geojson_path,
          "--url",
          "https://apihub.copernicus.eu/apihub/",
          "-s",
          "20151219",
          "-e",
          "20151220",
          "-c",
          "10",
      ]
  
      result = run_cli("--sentinel", "2", *command)
  
      expected = "Product e071bdda-47ec-4434-aafa-00340442bdda - Date: 2015-12-19T14:47:22.029Z, Instrument: MSI, Satellite: Sentinel-2, Size: 403.60 MB"
      assert result.products[0] == expected
      # For order-by test
      assert (
          "0848f6b8-5730-4759-850e-fc9945d42296"
          not in result.products[1]
      )
  
      run_cli("--sentinel", "1", *command, must_return_nonzero=True)
  
imports: import json
  import os
  import re
  import glob
  import shutil
  from contextlib import contextmanager
  from functools import partialmethod
  import pytest
  import requests_mock
  from click.testing import CliRunner
  from sentinelsat import SentinelAPI, InvalidChecksumError
  from sentinelsat.scripts.cli import cli
label_desc: Use image node_id 12 for calling a global function with example usage: test_cloud_flag_url(run_cli, geojson_path) without return types