code: def test_list_registered_model(
      store, registered_model_names, rm_data
  ):
      for rm in store.list_registered_models(
          max_results=10, page_token=None
      ):
          name = rm.name
          assert name in registered_model_names
          assert name == rm_data[name]["name"]
  
imports: import time
  import uuid
  from typing import List, NamedTuple
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.file_store import FileStore
  from mlflow.utils.file_utils import path_to_local_file_uri, write_yaml
  from mlflow.utils.time import get_current_time_millis
  from tests.helper_functions import random_int, random_str
label_desc: Use image node_id 8 for calling a global function with example usage: test_list_registered_model(store, registered_model_names, rm_data) without return types