code: def test_lmi_uris(load_config):
      VERSIONS = load_config["inference"]["versions"]
      for version in VERSIONS:
          ACCOUNTS = load_config["inference"]["versions"][version][
              "registries"
          ]
          for region in ACCOUNTS.keys():
              for lmi_version in LMI_VERSIONS:
                  djl_deepspeed_config = conftest.get_config(
                      "djl-deepspeed.json"
                  )
                  DJL_DEEPSPEED_REGIONS = djl_deepspeed_config[
                      "versions"
                  ][lmi_version]["registries"].keys()
                  if region not in DJL_DEEPSPEED_REGIONS:
                      continue
  
                  uri = get_huggingface_llm_image_uri(
                      "lmi", region=region, version=lmi_version
                  )
                  tag = djl_deepspeed_config["versions"][lmi_version][
                      "tag_prefix"
                  ]
  
                  expected = expected_uris.djl_framework_uri(
                      "djl-inference",
                      ACCOUNTS[region],
                      tag,
                      region=region,
                  )
                  assert expected == uri
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.huggingface import get_huggingface_llm_image_uri
  from tests.unit.sagemaker.image_uris import expected_uris, conftest
label_desc: Use image node_id 2 for calling a global function with example usage: test_lmi_uris(load_config) without return types