code: def test_dataset_creation_fails_on_no_workspace_and_owner():
      with pytest.raises(ValueError, match="Missing workspace"):
          BaseDatasetDB(
              task=TaskType.text_classification,
              name="tedb",
              workspace=None,
              owner=None,
          )
  
file_path: argilla/tests/unit/server/models/old_models/test_datasets.py
imports: import datetime
  import uuid
  import pytest
  from argilla.server.commons.models import TaskType
  from argilla.server.daos.models.datasets import BaseDatasetDB
  from argilla.server.schemas.v0.datasets import CreateDatasetRequest, Dataset
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 4 for calling a global function with example usage: test_dataset_creation_fails_on_no_workspace_and_owner() without return types