code: def test_footprints_s1(api, test_wkt, read_fixture_file):
      products = api.query(
          test_wkt,
          (datetime(2014, 10, 10), datetime(2014, 12, 31)),
          producttype="GRD",
      )
  
      footprints = api.to_geojson(products)
      for footprint in footprints["features"]:
          assert not footprint["geometry"].errors()
  
      expected_footprints = geojson.loads(
          read_fixture_file("expected_search_footprints_s1.geojson")
      )
      # to compare unordered lists (JSON objects) they need to be sorted or changed to sets
      assert set(footprints) == set(expected_footprints)
  
file_path: sentinelsat/tests/test_geographic.py
imports: from datetime import datetime
  import re
  import geojson
  import pytest
  from sentinelsat import geojson_to_wkt, read_geojson, SentinelAPI, placename_to_wkt
label_desc: Use image node_id 4 for calling a global function with example usage: test_footprints_s1(api, test_wkt, read_fixture_file) without return types