code: def test_write_tf_serving_config(base_dir, assetsmanager_settings):
      write_config(
          os.path.join(base_dir, "test.config"),
          {"model0": "/some/path"},
      )
      ref = testing.ReferenceText(os.path.join(TEST_DIR, "testdata"))
      with open(os.path.join(base_dir, "test.config")) as f:
          ref.assert_equal("test.config", f.read())
  
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 11 for calling a global function with example usage: test_write_tf_serving_config(base_dir, assetsmanager_settings) without return types