code: def test_illegal_type() -> None:
      config = {"type": 4}
      with pytest.raises(ValueError, match="must be a string"):
          storage.build(config, container_path=None)
  
imports: import os
  from typing import Optional
  from unittest import mock
  import pytest
  from determined import core
  from determined.common import storage
label_desc: Use image node_id 3 for calling a global function with example usage: test_illegal_type() without return types