diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-04-19 11:22:40 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-04-19 11:22:40 +0200 |
commit | 62adf7f849a701687d0e3fdddebf596b5994a801 (patch) | |
tree | 167b93ca6e99f793eb14d3a73dadaf7c33f8e130 /test/smoketest.py | |
parent | cefa5131bc24376108431ff0db404b30f94637bf (diff) | |
download | pylint-62adf7f849a701687d0e3fdddebf596b5994a801.tar.gz |
cleanup, d-t-w, fix remaining [en|dis] method call
Diffstat (limited to 'test/smoketest.py')
-rw-r--r-- | test/smoketest.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/smoketest.py b/test/smoketest.py index 0278cf9..b1c2c3a 100644 --- a/test/smoketest.py +++ b/test/smoketest.py @@ -39,68 +39,68 @@ class RunTC(TestCase): finally: sys.stderr = sys.__stderr__ sys.stdout = sys.__stdout__ - + @tag('smoke') def test0(self): """make pylint checking itself""" self._runtest(['pylint.__pkginfo__'], reporter=TextReporter(StringIO()), code=0) - + @tag('smoke') def test1(self): """make pylint checking itself""" self._runtest(['--include-ids=y', 'pylint.lint'], reporter=TextReporter(StringIO())) - + @tag('smoke') def test2(self): """make pylint checking itself""" self._runtest(['pylint.lint'], reporter=ParseableTextReporter(StringIO())) - + @tag('smoke') def test3(self): """make pylint checking itself""" self._runtest(['pylint.lint'], reporter=HTMLReporter(StringIO())) - + @tag('smoke') def test4(self): """make pylint checking itself""" self._runtest(['pylint.lint'], reporter=ColorizedTextReporter(StringIO())) - + @tag('smoke') def test5(self): """make pylint checking itself""" self._runtest(['pylint.lint'], reporter=VSTextReporter(StringIO())) - + @tag('smoke') def test_no_ext_file(self): self._runtest([join(HERE, 'input', 'noext')], code=0) - + @tag('smoke') def test_w0704_ignored(self): self._runtest([join(HERE, 'input', 'ignore_except_pass_by_default.py')], code=0) - + @tag('smoke', 'help', 'config') def test_generate_config_option(self): """make pylint checking itself""" self._runtest(['--generate-rcfile'], reporter=HTMLReporter(StringIO()), code=0) - + @tag('smoke', 'help') def test_help_message_option(self): """make pylint checking itself""" self._runtest(['--help-msg', 'W0101'], reporter=HTMLReporter(StringIO()), code=0) - + @tag('smoke', 'help') def test_error_help_message_option(self): self._runtest(['--help-msg', 'WX101'], reporter=HTMLReporter(StringIO()), code=0) - + @tag('smoke', 'usage') def test_error_missing_arguments(self): self._runtest([], reporter=HTMLReporter(StringIO()), code=32) - - + + if __name__ == '__main__': unittest_main() |