def test_symlink_are_identical(self):
tmpdir = self.tmpdir
filepath = tmpdir.join('file')
filepath.write("Hello")
linkpath = tmpdir.join('test')
linkpath.mksymlinkto(filepath)
-> assert linkpath.readlink() == str(filepath)