code: def test_bento(model_store: ModelStore):
      start = datetime.now(timezone.utc)
      bento = build_test_bento()
      end = datetime.now(timezone.utc)
  
      assert bento.info.bentoml_version == BENTOML_VERSION
      assert start <= bento.creation_time <= end
      # validate should fail
  
      with bento._fs as bento_fs:  # type: ignore
          assert set(bento_fs.listdir("/")) == {
              "bento.yaml",
              "apis",
              "README.md",
              "src",
              "env",
          }
          assert set(bento_fs.listdir("src")) == {
              "simplebento.py",
              "subdir",
              ".bentoignore",
          }
          assert set(bento_fs.listdir("src/subdir")) == {"somefile"}
  
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 6 for calling a global function with example usage: test_bento(model_store) without return types