code: def test_sagemaker_geospatial_ecr_uri(
      load_config, extract_versions_for_image_scope
  ):
      VERSIONS = extract_versions_for_image_scope
      for version in VERSIONS:
          SAGEMAKER_GEOSPATIAL_ACCOUNTS = load_config["processing"][
              "versions"
          ][version]["registries"]
          for region in SAGEMAKER_GEOSPATIAL_ACCOUNTS.keys():
              assert _test_ecr_uri(
                  account=SAGEMAKER_GEOSPATIAL_ACCOUNTS[region],
                  region=region,
                  version=version,
                  tag="latest",
              )
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker import image_uris
  from tests.unit.sagemaker.image_uris import expected_uris
label_desc: Use image node_id 2 for calling a global function with example usage: test_sagemaker_geospatial_ecr_uri(load_config, extract_versions_for_image_scope) without return types