code: def test_register_model_with_non_runs_uri():
      create_model_patch = mock.patch.object(
          MlflowClient,
          "create_registered_model",
          return_value=RegisteredModel("Model 1"),
      )
      create_version_patch = mock.patch.object(
          MlflowClient,
          "_create_model_version",
          return_value=ModelVersion(
              "Model 1", "1", creation_timestamp=123
          ),
      )
      with create_model_patch, create_version_patch:
          register_model("s3:/some/path/to/model", "Model 1")
          MlflowClient.create_registered_model.assert_called_once_with(
              "Model 1"
          )
          MlflowClient._create_model_version.assert_called_once_with(
              name="Model 1",
              run_id=None,
              tags=None,
              source="s3:/some/path/to/model",
              await_creation_for=DEFAULT_AWAIT_MAX_SLEEP_SECONDS,
              local_model_path=None,
          )
  
file_path: mlflow/tests/tracking/_model_registry/test_model_registry_fluent.py
imports: from unittest import mock
  import pytest
  from mlflow import MlflowClient, register_model
  from mlflow.entities.model_registry import ModelVersion, RegisteredModel
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import ALREADY_EXISTS, INTERNAL_ERROR, RESOURCE_ALREADY_EXISTS
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
label_desc: Use image node_id 2 for calling a global function with example usage: test_register_model_with_non_runs_uri() without return types