def test_scriptsInRelease(self):
        basedir = self.mktemp()
        os.mkdir(basedir)
        os.mkdir(os.path.join(basedir, 'bin'))
        f = open(os.path.join(basedir, 'bin', 'exy'), 'w')
        f.write('yay')
        f.close()
        scripts = dist.getScripts(basedir=basedir)
        self.assertEqual(len(scripts), 1)
        self.assertEqual(os.path.basename(scripts[0]), 'exy')
getScripts should return the scripts associated with a project
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_dist.py/GetScriptsTests.test_scriptsInRelease