def test_pep8_wrappers(self):
        pep8_analysis = pep8(self.filepath, self.firehose_results)
        issues = parse_pep8(pep8_analysis[1].splitlines())
        i = 0
        for issue in issues:
            if issue.location.file.givenpath == "./firehose/model.py" and \
            issue.location.point.line==96 and issue.location.point.column==1:
                found = issue
            i += 1
        print found
        self.assertEquals(found.testid, "E302")
        self.assertEquals(found.location.file.givenpath, "./firehose/model.py")
        self.assertEquals(found.location.point.line, 96)
        self.assertEquals(found.location.point.column, 1)
        self.assertEquals(found.severity, "error")
        self.assertIsNone(found.notes)
        self.assertIsNone(found.customfields)
        self.assertTrue("E302 expected 2 blank lines, found 1" in found.message.text)
        self.assertTrue(i > 100)
dataset/ETHPy150Open opencollab/debile/tests/test_pep8.py/Pep8TestCase.test_pep8_wrappers/original