def test_removeNEWSfragments(self):
        builder = NewsBuilder()
        project = self.createFakeTwistedProject()
        self._commit(project)
        builder.buildAll(project)

        self.assertEqual(5, len(project.children()))
        output = self._getStatus(project)
        removed = [line for line in output.splitlines()
                   if line.startswith("D ")]
        self.assertEqual(3, len(removed))
L{NewsBuilder.buildALL} removes all the NEWS fragments after the build
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/NewsBuilderMixin.test_removeNEWSfragments