Ejemplo n.º 1
0
 def test_directory(self):
     init()
     copy_to(dir1, dir2)
     copy_to(dir1, dir2, ignore=True)
     copy_to(dir1, dir2, force=True)
     assert os.path.exists(dir1) == True
     assert os.path.exists(dir2_dir1) == True
Ejemplo n.º 2
0
 def test_file(self):
     init()
     copy_to(dir1_f1, dir2)
     copy_to(dir1_f1, dir2, ignore=True)
     copy_to(dir1_f1, dir2, force=True)
     assert os.path.exists(dir1_f1) == True
     assert os.path.exists(dir2_f1) == True