diff --git a/odoo/addons/test_pylint/tests/test_pylint.py b/odoo/addons/test_pylint/tests/test_pylint.py index eccc90d3bee..08a1b1110ca 100644 --- a/odoo/addons/test_pylint/tests/test_pylint.py +++ b/odoo/addons/test_pylint/tests/test_pylint.py @@ -114,6 +114,7 @@ class TestPyLint(TransactionCase): paths.append(module_path) options = [ + '--rcfile=%s' % os.devnull, '--disable=all', '--enable=%s' % ','.join(self.ENABLED_CODES), '--reports=n', @@ -138,4 +139,4 @@ class TestPyLint(TransactionCase): else: out, err = process.communicate() if process.returncode: - self.fail("\n" + out + "\n" + err) + self.fail("pylint test failed:\n" + (out + "\n" + err).strip())