diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-26 22:45:40 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-26 22:45:40 +0200 |
commit | 8a37cd90fdc731d151628b541d3edfd056f67e7c (patch) | |
tree | 200df5dfa99ae4af9b878b9eeab495867ca36b35 /testsuite/test_api.py | |
parent | 7b9449d525bcc2c5df4699616d8b75de76a586d4 (diff) | |
download | pep8-8a37cd90fdc731d151628b541d3edfd056f67e7c.tar.gz |
Fix tests
Diffstat (limited to 'testsuite/test_api.py')
-rw-r--r-- | testsuite/test_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/test_api.py b/testsuite/test_api.py index fba27c7..980fe9e 100644 --- a/testsuite/test_api.py +++ b/testsuite/test_api.py @@ -124,7 +124,7 @@ class APITestCase(unittest.TestCase): report = pep8.StyleGuide().check_files([E11]) stdout = sys.stdout.getvalue().splitlines() self.assertEqual(len(stdout), report.total_errors) - self.assertEqual(report.total_errors, 6) + self.assertEqual(report.total_errors, 17) self.assertFalse(sys.stderr) self.reset() @@ -132,7 +132,7 @@ class APITestCase(unittest.TestCase): report = pep8.StyleGuide(paths=[E11]).check_files() stdout = sys.stdout.getvalue().splitlines() self.assertEqual(len(stdout), report.total_errors) - self.assertEqual(report.total_errors, 6) + self.assertEqual(report.total_errors, 17) self.assertFalse(sys.stderr) self.reset() |