summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVlad Temian <vladtemian@gmail.com>2014-11-22 12:42:29 +0200
committerVlad Temian <vladtemian@gmail.com>2014-11-22 12:42:29 +0200
commit6d1f8c32840a2a066df5054b5bd9ed8c77d0daee (patch)
tree6be4b8ea05e9909bf8c6200af66a2e3d8b8c7cc4 /test
parent3abf9f4fc5e4e56b9358ee62cbcd3829f5f1edd3 (diff)
downloadpylint-git-6d1f8c32840a2a066df5054b5bd9ed8c77d0daee.tar.gz
Added JSONReporter to test_self.py.RunTC.test_all
Diffstat (limited to 'test')
-rw-r--r--test/test_self.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_self.py b/test/test_self.py
index 7a48ee0cd..6ef3c49b0 100644
--- a/test/test_self.py
+++ b/test/test_self.py
@@ -22,6 +22,7 @@ from pylint.lint import Run
from pylint.reporters import BaseReporter
from pylint.reporters.text import *
from pylint.reporters.html import HTMLReporter
+from pylint.reporters.json import JSONReporter
HERE = abspath(dirname(__file__))
@@ -93,7 +94,8 @@ class RunTC(unittest.TestCase):
reporters = [
TextReporter(StringIO()),
HTMLReporter(StringIO()),
- ColorizedTextReporter(StringIO())
+ ColorizedTextReporter(StringIO()),
+ JSONReporter(StringIO()),
]
self._runtest(['pylint/test/functional/arguments.py'],
reporter=MultiReporter(reporters), code=1)