code: def test_get_runnable(
      framework: types.ModuleType,
      saved_model: bentoml.Model,
  ):
      runnable = framework.get_runnable(saved_model)
  
      assert isinstance(
          runnable, t.Type
      ), "get_runnable for {bento_model.info.name} does not return a type"
      assert issubclass(
          runnable, bentoml.Runnable
      ), "get_runnable for {bento_model.info.name} doesn't return a subclass of bentoml.Runnable"
      assert (
          len(runnable.bentoml_runnable_methods__) > 0
      ), "get_runnable for {bento_model.info.name} gives a runnable with no methods"
  
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 7 for calling a global function with example usage: test_get_runnable(framework, saved_model) without return types