def createFakeTwistedProject(self):
        project = FilePath(self.mktemp()).child("twisted")
        project.makedirs()
        self.createStructure(project, {
                'NEWS': 'Old boring stuff from the past.\n',
                '_version.py': genVersion("twisted", 1, 2, 3),
                'topfiles': {
                    'NEWS': 'Old core news.\n',
                    '3.feature': 'Third feature addition.\n',
                    '5.misc': ''},
                'conch': {
                    '_version.py': genVersion("twisted.conch", 3, 4, 5),
                    'topfiles': {
                        'NEWS': 'Old conch news.\n',
                        '7.bugfix': 'Fixed that bug.\n'}},
                'vfs': {
                    '_version.py': genVersion("twisted.vfs", 6, 7, 8),
                    'topfiles': {
                        'NEWS': 'Old vfs news.\n',
                        '8.bugfix': 'Fixed bug 8.\n'}}})
        return project
Create a fake-looking Twisted project to build from.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/NewsBuilderTests.createFakeTwistedProject