code: def test_export_bento_with_models(
      model_store: ModelStore, tmp_path: "Path"
  ):
      working_dir = os.getcwd()
      bento = build_test_bento()
      os.chdir(working_dir)
  
      assert bento._model_store is None
      model_tag = bento.info.models[0].tag
      path = os.path.join(tmp_path, "testbento.bento")
      exported_path = bento.export(path)
      # clear models
      model_store.delete(model_tag)
      imported_bento = Bento.import_from(exported_path).save()
      assert imported_bento._model_store is None
      assert model_store.get(model_tag) is not None
      bentos.delete(imported_bento.tag)
  
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from datetime import timezone
  from sys import version_info
  from typing import TYPE_CHECKING
  import fs
  import pytest
  from bentoml import Tag
  from bentoml import bentos
  from bentoml._internal.bento import Bento
  from bentoml._internal.bento.bento import BentoApiInfo
  from bentoml._internal.bento.bento import BentoInfo
  from bentoml._internal.bento.bento import BentoModelInfo
  from bentoml._internal.bento.bento import BentoRunnerInfo
  from bentoml._internal.bento.build_config import BentoBuildConfig
  from bentoml._internal.configuration import BENTOML_VERSION
  from bentoml._internal.models import ModelStore
label_desc: Use image node_id 5 for calling a global function with example usage: test_export_bento_with_models(model_store, tmp_path) without return types