Searched refs:src_directory (Results 1 – 2 of 2) sorted by relevance
246 src_directory = self.make_path('xyzzy')248 self.create_dir(src_directory)249 self.create_dir('%s/subdir' % src_directory)250 self.create_file(os.path.join(src_directory, 'subfile'))251 self.assertTrue(os.path.exists(src_directory))253 shutil.copytree(src_directory, dst_directory)318 src_directory = self.make_path('original_xyzzy')320 self.create_dir(src_directory)321 self.create_file(os.path.join(src_directory, 'subfile'))322 self.create_dir(os.path.join(src_directory, 'subdir'))[all …]
48 def move_directory_contents(src_directory, dst_directory): argument55 os.path.join(src_directory, filename)56 for filename in os.listdir(src_directory)