code: def test_initialise_with_nondefault_output_directory():
      empty_temp_directory = tempfile.mkdtemp()
      output_directory = "out"
      p = Augmentor.Pipeline(
          empty_temp_directory, output_directory=output_directory
      )
      assert os.path.exists(
          os.path.join(empty_temp_directory, output_directory)
      )
  
imports: import pytest
  import os
  import sys
  import Augmentor
  import tempfile
  import io
  import shutil
  import glob
  import random
  import numpy
  from PIL import Image
  from Augmentor import ImageUtilities
  from util_funcs import create_sub_folders
label_desc: Use image node_id 2 for calling a global function with example usage: test_initialise_with_nondefault_output_directory() without return types