code: def test_split_video():
      path = os.path.dirname(__file__)
      input_video = os.path.join(path, "static/input_video.mp4")
      output_path = os.path.join(path, "static/split_frames")
  
      os.mkdir(output_path)
  
      split_video(
          input_video, output_path, prefix="testing", step_size=-1
      )
  
      files = [f for f in os.listdir(output_path)]
  
      assert len(files) == 1
      assert files[0] == "testing0.jpg"
  
      os.remove(os.path.join(output_path, "testing0.jpg"))
      os.rmdir(output_path)
  
file_path: detecto/detecto/tests/test_utils.py
imports: import os
  import pandas
  import pytest
  import torch
  import torchvision
  from .helpers import get_image
  from detecto.utils import *
  from detecto.utils import _is_iterable
label_desc: Use image node_id 7 for calling a global function with example usage: test_split_video() without return types