code: def test_name_search(run_cli):
      result = run_cli(
          "--name",
          "S1A_WV_OCN__2SSV_20150526T211029_20150526T211737_006097_007E78_134A",
      )
  
      expected = "Product d8340134-878f-4891-ba4f-4df54f1e3ab4 - Date: 2015-05-26T21:10:28.984Z, Instrument: SAR-C SAR, Mode: VV, Satellite: Sentinel-1, Size: 10.65 KB"
      assert result.products[0] == 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 21 for calling a global function with example usage: test_name_search(run_cli) without return types