code: def create_fake_dataset(self, n_data: int = 5):
      self.dataset = torchvision.datasets.FakeData(
          size=n_data, image_size=(3, 32, 32)
      )
  
      self.input_dir = tempfile.mkdtemp()
  
      sample_names = [f"img_{i}.jpg" for i in range(n_data)]
      self.sample_names = sample_names
      for sample_idx in range(n_data):
          data = self.dataset[sample_idx]
          path = os.path.join(self.input_dir, sample_names[sample_idx])
          data[0].save(path)
  
      self.output_dir = tempfile.mkdtemp()
  
imports: import os
  import sys
  import tempfile
  import pytest
  import torchvision
  from hydra.experimental import compose, initialize
  import lightly
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowClient, MockedApiWorkflowSetup
label_desc: Use image node_id 3 for calling the TestCLIDownload obj's underlying member method code with example usage: obj.create_fake_dataset(n_data) without return types