code: def test_workspace_create_invalid_name(invalid_name: str):
      with pytest.raises(ValidationError):
          WorkspaceCreate(name=invalid_name)
  
imports: from typing import Union
  import pytest
  from argilla.server.security.model import User, UserCreate, WorkspaceCreate
  from tests.factories import UserFactory, WorkspaceFactory
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 1 for calling a global function with example usage: test_workspace_create_invalid_name(invalid_name) without return types