summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-07-24 15:07:51 +0200
committerTorsten Marek <shlomme@gmail.com>2014-07-24 15:07:51 +0200
commitca903958f5ea7a55492c27855e7b20896404c77f (patch)
tree96daa34cbecb7abccee9f1ee6df45c8c3fa55834 /testutils.py
parentda73a4dd84e9fdf907de7699616427f40d85f5cd (diff)
downloadpylint-git-ca903958f5ea7a55492c27855e7b20896404c77f.tar.gz
Implement confidence levels.
- attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output.
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index e53ec70a2..86539acb4 100644
--- a/testutils.py
+++ b/testutils.py
@@ -141,7 +141,7 @@ class UnittestLinter(object):
finally:
self._messages = []
- def add_message(self, msg_id, line=None, node=None, args=None):
+ def add_message(self, msg_id, line=None, node=None, args=None, confidence=None):
self._messages.append(Message(msg_id, line, node, args))
def is_message_enabled(self, *unused_args):