code: def test_list_dataset(mocked_client: "SecuredClient"):
      from argilla.client.singleton import active_client
  
      client = active_client()
      datasets = client.http_client.get("/api/datasets")
  
      for ds in datasets:
          assert ds["owner"] == ds["workspace"]
  
file_path: argilla/tests/integration/test_datasets_settings.py
imports: from typing import TYPE_CHECKING, Optional, Union
  from uuid import uuid4
  import pytest
  from argilla import Workspace
  from argilla.client import singleton
  from argilla.client.api import get_workspace
  from argilla.client.client import Argilla
  from argilla.client.sdk.commons.errors import ForbiddenApiError
  from argilla.client.singleton import init
  from argilla.datasets import TextClassificationSettings, TokenClassificationSettings, configure_dataset, configure_dataset_settings, load_dataset_settings
  from argilla.server.contexts import accounts
  from argilla.server.security.model import WorkspaceUserCreate
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 4 for calling a global function with example usage: test_list_dataset(mocked_client) without return types