code: def test_product_flag(run_cli, geojson_path):
      result = run_cli(
          "--geometry",
          geojson_path,
          "--url",
          "https://apihub.copernicus.eu/apihub/",
          "-s",
          "20161201",
          "-e",
          "20161202",
          "--producttype",
          "SLC",
      )
  
      expected = "Product 2223103a-3754-473d-9a29-24ef8efa2880 - Date: 2016-12-01T09:30:22.149Z, Instrument: SAR-C SAR, Mode: VV VH, Satellite: Sentinel-1, Size: 7.98 GB"
      assert result.products[3] == expected
  
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 17 for calling a global function with example usage: test_product_flag(run_cli, geojson_path) without return types