def copy_test_configuration(self, source_dir, dest_dir):
    for root, dirs, files in os.walk(source_dir):
      if '.svn' in dirs:
        dirs.remove('.svn')
      dirs = [ d for d in dirs if not d.startswith('gyptest') ]
      files = [ f for f in files if not f.startswith('gyptest') ]
      for dirname in dirs:
        source = os.path.join(root, dirname)
        destination = source.replace(source_dir, dest_dir)
        os.mkdir(destination)
        if sys.platform != 'win32':
          shutil.copystat(source, destination)
      for filename in files:
        source = os.path.join(root, filename)
        destination = source.replace(source_dir, dest_dir)
        shutil.copy2(source, destination)
Generator method for listing all the Logstash index names
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestGyp.py/TestGypBase.copy_test_configuration--crossover with--dataset/ETHPy150Open prelert/engine-python/elk_connector/elk_connector.py/nextLogStashIndex