diff options
author | Torsten Marek <shlomme@gmail.com> | 2014-07-24 11:36:12 +0200 |
---|---|---|
committer | Torsten Marek <shlomme@gmail.com> | 2014-07-24 11:36:12 +0200 |
commit | 5878b6349b9cba56484c85442d96e58176dcac68 (patch) | |
tree | 5e3a8cb677652e07332e0ae9be422f0a2a8d7b8d /test/test_func.py | |
parent | 39e7be1a32224afa47d23e161f047feab5fbcc93 (diff) | |
download | pylint-5878b6349b9cba56484c85442d96e58176dcac68.tar.gz |
Added a new test suite for functional tests.
Main changes:
- version restrictions are not encoded in file names any more, but in option files
- expected messages are annotated in the test files directly
Diffstat (limited to 'test/test_func.py')
-rw-r--r-- | test/test_func.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_func.py b/test/test_func.py index 63c585f..d3fb9be 100644 --- a/test/test_func.py +++ b/test/test_func.py @@ -44,6 +44,8 @@ class LintTestNonExistentModuleTC(LintTestUsingModule): class TestTests(testlib.TestCase): """check that all testable messages have been checked""" + PORTED = set(['I0001', 'I0010', 'W0712', 'E1001']) + @testlib.tag('coverage') def test_exhaustivity(self): # skip fatal messages @@ -54,7 +56,7 @@ class TestTests(testlib.TestCase): not_tested.remove(msgid) except KeyError: continue - not_tested -= set(('I0001',)) + not_tested -= self.PORTED if PY3K: not_tested.remove('W0403') # relative-import self.assertFalse(not_tested) |