code: def testing_cfg(download_path):
      cfg = CfgNode()
      cfg.DATASET = CfgNode()
      cfg.DATASET.ROOT = str(Path(download_path) / "video_test_data")
      cfg.DAN = CfgNode()
      cfg.DATASET.FRAMES_PER_SEGMENT = 16
      yield cfg
  
file_path: pykale/tests/pipeline/test_video_domain_adapter.py
imports: from pathlib import Path
  import pytest
  from yacs.config import CfgNode
  from kale.loaddata.video_access import VideoDataset
  from kale.loaddata.video_multi_domain import VideoMultiDomainDatasets
  from kale.pipeline import domain_adapter, video_domain_adapter
  from kale.predict.class_domain_nets import ClassNetVideo, DomainNetVideo
  from kale.utils.seed import set_seed
  from tests.helpers.boring_model import VideoBoringModel
  from tests.helpers.pipe_test_helper import ModelTestHelper
label_desc: Use image node_id 1 for calling a global function with example usage: testing_cfg(download_path) without return types