def test_policy_overwrite_symlink(self):
        os.mkdir(self.build_dir)
        os.symlink('saywhat', os.path.join(self.build_dir, 'symlinka.txt'))
        self.build_scaffold(
            'test-template-2', overwrite_target_root=True,
            existing_policy=Scaffold.EXISTING_OVERWRITE
        )
        assert self.exists('symlinka.txt', type='link')
        assert (
            os.readlink(os.path.join(self.build_dir, 'symlinka.txt')) !=
            'filea.txt'
        )
        assert self.logged('Creating and overwriting symlink')
dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py/TestScaffold.test_policy_overwrite_symlink/operator `==` -> `!=`