summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>2008-09-01 16:53:56 +0200
committerAlexandre Fayolle <alexandre.fayolle@logilab.fr>2008-09-01 16:53:56 +0200
commitbc5bf740b960b47ccbd1a9b578a2c1d93b94b2da (patch)
treed34ccfdb736b170cb04ef1961dd3496cb12d3ae6
parent7e2f0ddb298330c772c4d4723714f583c7b61070 (diff)
downloadpylint-bc5bf740b960b47ccbd1a9b578a2c1d93b94b2da.tar.gz
fixed broken test
-rwxr-xr-x[-rw-r--r--]bin/epylint0
-rw-r--r--test/unittest_lint.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/epylint b/bin/epylint
index b437e8a..b437e8a 100644..100755
--- a/bin/epylint
+++ b/bin/epylint
diff --git a/test/unittest_lint.py b/test/unittest_lint.py
index cc592e8..91b3421 100644
--- a/test/unittest_lint.py
+++ b/test/unittest_lint.py
@@ -93,7 +93,8 @@ class PyLinterTC(TestCase):
def test_message_help(self):
msg = self.linter.get_message_help('F0001', checkerref=True)
- expected = ':F0001:\n Used when an error occured preventing the analyzing of a module (unable to\n find it for instance). This message belongs to the master checker.'
+ expected = ':F0001:\n Used when an error occured preventing the analysis of a module (unable to find\n it for instance). This message belongs to the master checker.'
+ self.assertTextEqual(msg, expected)
self.assertEquals(' '.join(msg.splitlines()), ' '.join(expected.splitlines()))
self.assertRaises(UnknownMessage, self.linter.get_message_help, 'YB12')