diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2016-07-05 15:02:33 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-07-05 15:10:06 +0100 |
| commit | 7d58de1c44181849638d0216f0f4f709502e3e2f (patch) | |
| tree | 0dbbb6a90b0bd55d8e6828c911335d672d50a178 /pylint/test/unittest_lint.py | |
| parent | c500705bca09838e57537fbd2fd98087422a1163 (diff) | |
| download | pylint-git-7d58de1c44181849638d0216f0f4f709502e3e2f.tar.gz | |
Remove the support for html reporting
The html reporter was lately a second class citizen in Pylint,
being underdeveloped and mostly neglected. It has a couple of bugs,
but the more important reason why this is removed is that we now have
a much better json reporter, which can be used as a basis for more
prettier html Pylint outputs.
Part of #975
Diffstat (limited to 'pylint/test/unittest_lint.py')
| -rw-r--r-- | pylint/test/unittest_lint.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pylint/test/unittest_lint.py b/pylint/test/unittest_lint.py index ea5c7c676..8d6e8f3a5 100644 --- a/pylint/test/unittest_lint.py +++ b/pylint/test/unittest_lint.py @@ -20,7 +20,7 @@ from pylint.utils import MSG_STATE_SCOPE_CONFIG, MSG_STATE_SCOPE_MODULE, MSG_STA MessagesStore, PyLintASTWalker, MessageDefinition, FileState, \ build_message_def, tokenize_module, UnknownMessage from pylint.testutils import TestReporter -from pylint.reporters import text, html +from pylint.reporters import text from pylint import checkers from pylint.checkers.utils import check_messages from pylint import interfaces @@ -473,16 +473,6 @@ class PyLinterTC(unittest.TestCase): ['C: 2: Line too long (175/100)'], self.linter.reporter.messages) - def test_html_reporter_missing_files(self): - output = six.StringIO() - self.linter.set_reporter(html.HTMLReporter(output)) - self.linter.set_option('output-format', 'html') - self.linter.check('troppoptop.py') - self.linter.generate_reports() - value = output.getvalue() - self.assertIn('troppoptop.py', value) - self.assertIn('fatal', value) - def test_python3_checker_disabled(self): checker_names = [c.name for c in self.linter.prepare_checkers()] self.assertNotIn('python3', checker_names) |
