code: def test_dataset_get_filenames(self):
      self.create_video_dataset()
      dataset = LightlyDataset(input_dir=self.input_dir)
      video_dataset = dataset.dataset
  
      # Get filenames using VideoDataset.get_filenames.
      video_dataset_filenames = video_dataset.get_filenames()
  
      # Get filenames using calls to VideoDataset.get_filename(index).
      # This removes the optimization introduced in VideoDatset.get_filenames.
      # Both methods should give the same result.
      get_filenames = VideoDataset.get_filenames
      del VideoDataset.get_filenames
      lightly_dataset_filenames = dataset.get_filenames()
      VideoDataset.get_filenames = get_filenames
  
      assert video_dataset_filenames == lightly_dataset_filenames
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from typing import List, Tuple
  import numpy
  import torchvision
  from PIL.Image import Image
  from lightly.data import LightlyDataset
  from lightly.data._utils import check_images
label_desc: Use image node_id 19 for calling the TestLightlyDataset obj's underlying member method code with example usage: obj.test_dataset_get_filenames() without return types