code: def test_create_dataset(mocker: MockerFixture) -> None:
      mocker.patch.object(
          ApiWorkflowClient, "__init__", return_value=None
      )
      client = ApiWorkflowClient()
      client._creator = Creator.USER_PIP
      client._datasets_api = mocker.create_autospec(DatasetsApi)
  
      client.create_dataset(dataset_name="name")
      expected_body = DatasetCreateRequest(
          name="name", type=DatasetType.IMAGES, creator=Creator.USER_PIP
      )
      client._datasets_api.create_dataset.assert_called_once_with(
          dataset_create_request=expected_body
      )
  
imports: from typing import List
  import pytest
  from pytest_mock import MockerFixture
  from lightly.api import ApiWorkflowClient, api_workflow_datasets
  from lightly.openapi_generated.swagger_client.api import DatasetsApi
  from lightly.openapi_generated.swagger_client.models import Creator, DatasetCreateRequest, DatasetData, DatasetType
  from lightly.openapi_generated.swagger_client.rest import ApiException
  from tests.api_workflow import utils
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowSetup
label_desc: Use image node_id 19 for calling a global function with example usage: test_create_dataset(mocker) without return types