code: def test_model_creationtime():
      start = datetime.now(timezone.utc)
      model_a = Model.create(
          "testmodel",
          module="test",
          api_version="v1",
          signatures={},
          context=TEST_MODEL_CONTEXT,
      )
      end = datetime.now(timezone.utc)
  
      assert model_a.tag.name == "testmodel"
      assert start <= model_a.creation_time <= end
      assert str(model_a) == f'Model(tag="{model_a.tag}")'
      assert (
          repr(model_a)
          == f'Model(tag="{model_a.tag}", path="{model_a.path}")'
      )
  
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 attr
  import fs
  import fs.errors
  import numpy
  import pytest
  from bentoml import Tag
  from bentoml._internal.configuration import BENTOML_VERSION
  from bentoml._internal.models import ModelOptions
  from bentoml._internal.models.model import Model
  from bentoml._internal.models.model import ModelInfo
  from bentoml._internal.models.model import ModelStore
  from bentoml.exceptions import BentoMLException
  from bentoml.testing.pytest import TEST_MODEL_CONTEXT
label_desc: Use image node_id 2 for calling a global function with example usage: test_model_creationtime() without return types