code: def test_cli_geometry_JSON_alternative_fail(run_cli):
      result = run_cli(
          "--geometry",
          '{"type": "A bad JSON", "features" :[nothing], ([{ ',
          "--end",
          "20200101",
          "--limit",
          "1",
          must_return_nonzero=True,
      )
      assert (
          "geometry string starts with '{' but is not a valid GeoJSON."
          in result.output
      )
  
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 8 for calling a global function with example usage: test_cli_geometry_JSON_alternative_fail(run_cli) without return types