Searched refs:dst_directory (Results 1 – 2 of 2) sorted by relevance
247 dst_directory = self.make_path('xyzzy_copy')252 self.assertFalse(os.path.exists(dst_directory))253 shutil.copytree(src_directory, dst_directory)254 self.assertTrue(os.path.exists(dst_directory))255 self.assertTrue(os.path.exists(os.path.join(dst_directory, 'subdir')))256 self.assertTrue(os.path.exists(os.path.join(dst_directory, 'subfile')))260 dst_directory = self.make_path('xyzzy_copy')263 self.assertFalse(os.path.exists(dst_directory))267 dst_directory)307 dst_directory = self.make_path('directory')[all …]
48 def move_directory_contents(src_directory, dst_directory): argument58 command = ['mv'] + src_contents + [dst_directory]