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
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