code: def test_list_datasets_with_workspace(
      self,
      cli_runner: "CliRunner",
      cli: "Typer",
      mocker: "MockerFixture",
  ) -> None:
      workspace_from_name_mock = mocker.patch(
          "argilla.client.workspaces.Workspace.from_name"
      )
      list_datasets_mock = mocker.patch(
          "argilla.client.api.list_datasets"
      )
  
      result = cli_runner.invoke(
          cli, "datasets list --workspace unit-test"
      )
  
      assert result.exit_code == 0
      workspace_from_name_mock.assert_called_once_with("unit-test")
      list_datasets_mock.assert_called_once_with("unit-test", None)
  
file_path: argilla/tests/unit/cli/datasets/test_list.py
imports: from typing import TYPE_CHECKING
  from unittest.mock import ANY, call
  import pytest
  from argilla.client.enums import DatasetType
  from rich.table import Table
label_desc: Use image node_id 2 for calling the TestSuiteListDatasetsCommand obj's underlying member method code with example usage: obj.test_list_datasets_with_workspace(cli_runner, cli, mocker) without return types