code: def test_create_asset():
      spec = AssetSpec(
          name="name",
          version="2020-11-15T17-30-56Z",
          versioning="simple_date",
      )
      assert isinstance(
          spec.versioning, SimpleDateAssetsVersioningSystem
      )
  
      with pytest.raises(errors.InvalidVersionError):
          AssetSpec(
              name="name",
              version="2020-11-15T17-30-56",
              versioning="simple_date",
          )
  
imports: import json
  import os
  import time
  import pytest
  from test_major_minor_versioning import get_string_spec
  import modelkit
  import tests
  from modelkit.assets import errors
  from modelkit.assets.settings import AssetSpec
  from modelkit.assets.versioning.simple_date import SimpleDateAssetsVersioningSystem
label_desc: Use image node_id 6 for calling a global function with example usage: test_create_asset() without return types