code: def test_set_azure_config(self, mocker: MockerFixture) -> None:
      client = ApiWorkflowClient(token="abc", dataset_id="dataset-id")
      mocker.patch.object(
          client._datasources_api,
          "update_datasource_by_dataset_id",
      )
      client.set_azure_config(
          container_name="my-container/name",
          account_name="my-account-name",
          sas_token="my-sas-token",
          thumbnail_suffix=".lightly/thumbnails/[filename]-thumb-[extension]",
      )
      kwargs = client._datasources_api.update_datasource_by_dataset_id.call_args[
          1
      ]
      assert isinstance(
          kwargs["datasource_config"].actual_instance,
          DatasourceConfigAzure,
      )
  
imports: import pytest
  import tqdm
  from pytest_mock import MockerFixture
  from lightly.api import ApiWorkflowClient, api_workflow_datasources
  from lightly.openapi_generated.swagger_client.models import DatasourceConfigAzure, DatasourceConfigGCS, DatasourceConfigLOCAL, DatasourceConfigS3, DatasourceConfigS3DelegatedAccess, DatasourcePurpose, DatasourceRawSamplesDataRow
  from lightly.openapi_generated.swagger_client.models.datasource_config_verify_data import DatasourceConfigVerifyData
  from lightly.openapi_generated.swagger_client.models.datasource_config_verify_data_errors import DatasourceConfigVerifyDataErrors
  from lightly.openapi_generated.swagger_client.models.datasource_processed_until_timestamp_response import DatasourceProcessedUntilTimestampResponse
  from lightly.openapi_generated.swagger_client.models.datasource_raw_samples_data import DatasourceRawSamplesData
label_desc: Use image node_id 12 for calling the TestDatasourcesMixin obj's underlying member method code with example usage: obj.test_set_azure_config(mocker) without return types