summaryrefslogtreecommitdiff
path: root/testsuite/test_api.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-04-26 22:45:40 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-04-26 22:45:40 +0200
commit8a37cd90fdc731d151628b541d3edfd056f67e7c (patch)
tree200df5dfa99ae4af9b878b9eeab495867ca36b35 /testsuite/test_api.py
parent7b9449d525bcc2c5df4699616d8b75de76a586d4 (diff)
downloadpep8-8a37cd90fdc731d151628b541d3edfd056f67e7c.tar.gz
Fix tests
Diffstat (limited to 'testsuite/test_api.py')
-rw-r--r--testsuite/test_api.py4
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()