code: def test_multi_domain_digits(download_path):
      data_access = ImageAccess.get_multi_domain_images(
          "DIGITS",
          download_path,
          sub_domain_set=["SVHN", "USPS_RGB"],
          return_domain_label=True,
      )
      dataset = MultiDomainAdapDataset(data_access)
      dataset.prepare_data_loaders()
      dataloader = dataset.get_domain_loaders(
          split="test", batch_size=10
      )
      assert len(next(iter(dataloader))) == 3
  
file_path: pykale/tests/loaddata/test_image_access.py
imports: import pytest
  import torch
  from numpy import testing
  from yacs.config import CfgNode
  from kale.loaddata.dataset_access import get_class_subset
  from kale.loaddata.image_access import DigitDataset, DigitDatasetAccess, get_cifar, ImageAccess
  from kale.loaddata.multi_domain import DomainsDatasetBase, MultiDomainAdapDataset, MultiDomainDatasets
label_desc: Use image node_id 8 for calling a global function with example usage: test_multi_domain_digits(download_path) without return types