def test_move_to(self): init() target_file = TargetFile(dir1_f1) target_file.move_to(dir2) assert not os.path.exists(dir1_f1) assert os.path.exists(dir2_f1) assert target_file.src == dir2_f1
def test_remove(self): init() target_file = TargetFile(dir1_f1) target_file.remove() assert not os.path.exists(dir1_f1)