'Verify that copying with followLinks=False copies symlinks as symlinks'

def test_copyToWithoutSymlink(self):

    self.symlink('sub1', self.path.child('link1').path)
    fp = filepath.FilePath(self.mktemp())
    self.path.copyTo(fp, followLinks=False)
    self.assertTrue(fp.child('link1').islink())
    self.assertEqual(os.readlink(self.path.child('link1').path), os.readlink(fp.child('link1').path))
