code: def test_asset_spec_set_latest_version():
      spec = AssetSpec(name="a", versioning="simple_date")
      spec.set_latest_version(
          ["2021-11-15T17-31-06Z", "2021-11-14T18-00-00Z"]
      )
      assert spec.version == "2021-11-15T17-31-06Z"
  
      spec = AssetSpec(
          name="a",
          version="2021-11-14T18-00-00Z",
          versioning="simple_date",
      )
      spec.set_latest_version(
          ["2021-11-15T17-31-06Z", "2021-11-14T18-00-00Z"]
      )
      assert spec.version == "2021-11-15T17-31-06Z"
  
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 11 for calling a global function with example usage: test_asset_spec_set_latest_version() without return types