code: def test_string_asset_spec(s, spec):
      assert AssetSpec.from_string(
          s, versioning="simple_date"
      ) == AssetSpec(versioning="simple_date", **spec)
  
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 10 for calling a global function with example usage: test_string_asset_spec(s, spec) without return types