'Verify that copying with followLinks=True copies symlink targets
instead of symlinks'

def test_copyToWithSymlink(self):

    self.symlink(self.path.child('sub1').path, self.path.child('link1').path)
    fp = filepath.FilePath(self.mktemp())
    self.path.copyTo(fp)
    self.assertFalse(fp.child('link1').islink())
    self.assertEqual([x.basename() for x in fp.child('sub1').children()], [x.basename() for x in fp.child('link1').children()])
