def test_symlinks_dir_invalid(self):
        self.build_scaffold('test-template-2')
        assert self.exists('directory1', type='dir')
        assert self.exists('directory2', type='dir')
        assert self.exists('symlinkd', type='link')
        assert (
            os.readlink(os.path.join(self.build_dir, 'symlinkd')) == 'baddir'
        )
dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py/TestScaffold.test_symlinks_dir_invalid/original