code: def test_get_local_model(trained_rasa_model: str):
      assert (
          rasa.model.get_local_model(trained_rasa_model)
          == trained_rasa_model
      )
  
file_path: rasa/tests/test_model.py
imports: import os
  import time
  from pathlib import Path
  from typing import Text, Optional
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  import rasa
  import rasa.constants
  import rasa.shared.utils.io
  import rasa.model
  from rasa.exceptions import ModelNotFound
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_local_model(trained_rasa_model) without return types