original_docstring: 
      Copy over training corpus to temp dir.
      
docstring: Copy over training corpus to temp dir.
docstring_tokens: Copy over training corpus to temp dir .
code: def mock_get_corpus(self, corpus_directory, _):
      """
      Copy over training corpus to temp dir.
      """
      train_files = glob.glob(os.path.join(self.corpus_dir, '*'))
      for train_file in train_files:
        target_path = os.path.join(corpus_directory, os.path.basename(train_file))
        self.assertTrue(shell.copy_file(train_file, target_path))
      return True
code_tokens: def mock_get_corpus ( self , corpus_directory , _ ) : train_files = glob . glob ( os . path . join ( self . corpus_dir , '*' ) ) for train_file in train_files : target_path = os . path . join ( corpus_directory , os . path . basename ( train_file ) ) self . assertTrue ( shell . copy_file ( train_file , target_path ) ) return True
short_docstring: Copy over training corpus to temp dir.
short_docstring_tokens: Copy over training corpus to temp dir .
comment: """
      Copy over training corpus to temp dir.
      """