code: def test_runnable(
      test_model: FrameworkTestModel,
      saved_model: bentoml.Model,
  ):
      for config in test_model.configurations:
          runner = saved_model.with_options(
              **config.load_kwargs
          ).to_runner()
          runner.init_local()
          runner_handle = t.cast(LocalRunnerRef, runner._runner_handle)
          runnable = runner_handle._runnable
          config.check_runnable(runnable, {})
          runner.destroy()
  
imports: from __future__ import annotations
  import logging
  import os
  import types
  import typing
  from typing import TYPE_CHECKING
  import pytest
  import bentoml
  from bentoml._internal.models.model import ModelContext
  from bentoml._internal.models.model import ModelSignature
  from bentoml._internal.runner.runner import Runner
  from bentoml._internal.runner.runner_handle.local import LocalRunnerRef
  from bentoml._internal.runner.strategy import DefaultStrategy
  from bentoml.exceptions import NotFound
  from .models import FrameworkTestModel
label_desc: Use image node_id 9 for calling a global function with example usage: test_runnable(test_model, saved_model) without return types