code: def test_iso_serving_mode_no_serving(
      dummy_tf_models, monkeypatch, working_dir
  ):
      monkeypatch.setenv("MODELKIT_STORAGE_BUCKET", TEST_DIR)
      monkeypatch.setenv("MODELKIT_STORAGE_PREFIX", "testdata")
      monkeypatch.setenv("MODELKIT_STORAGE_PROVIDER", "local")
      monkeypatch.setenv("MODELKIT_ASSETS_DIR", working_dir)
      monkeypatch.setenv("MODELKIT_TF_SERVING_ATTEMPTS", 1)
      # Get the prediction service running TF with gRPC serving
  
      with pytest.raises(grpc.RpcError):
          ModelLibrary(
              required_models=["dummy_tf_model"],
              settings=LibrarySettings(
                  tf_serving={
                      "enable": True,
                      "port": 8500,
                      "mode": "grpc",
                      "host": "localhost",
                  }
              ),
              models=dummy_tf_models,
          )
  
      with pytest.raises(requests.exceptions.ConnectionError):
          ModelLibrary(
              required_models=["dummy_tf_model"],
              settings=LibrarySettings(
                  tf_serving={
                      "enable": True,
                      "port": 8501,
                      "mode": "rest",
                      "host": "localhost",
                  }
              ),
              models=dummy_tf_models,
          )
  
imports: import os
  import pytest
  import requests
  from modelkit import ModelLibrary, testing
  from modelkit.core.models.tensorflow_model import AsyncTensorflowModel, TensorflowModel, has_tensorflow
  from modelkit.core.settings import LibrarySettings
  from modelkit.testing import tf_serving_fixture
  from modelkit.utils.tensorflow import write_config
  from tests import TEST_DIR
  from tests.conftest import skip_unless
label_desc: Use image node_id 12 for calling a global function with example usage: test_iso_serving_mode_no_serving(dummy_tf_models, monkeypatch, working_dir) without return types