summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-13 12:19:01 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-13 12:19:01 -0600
commitb71ed4ef2c9d6ad21eb1c8a4a92d902558f38886 (patch)
tree82feac98f4856da7b06c82977d0cf61bc2d513eb
parentc8d45e9b36fc742fa8a9d93df63edddb692497e6 (diff)
downloadbcfg2-b71ed4ef2c9d6ad21eb1c8a4a92d902558f38886.tar.gz
bcfg2-b71ed4ef2c9d6ad21eb1c8a4a92d902558f38886.tar.bz2
bcfg2-b71ed4ef2c9d6ad21eb1c8a4a92d902558f38886.zip
remove exception_messages pylint extension to try to fix unit tests
-rw-r--r--testsuite/Testsrc/test_code_checks.py4
-rw-r--r--testsuite/pylintrc.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py
index 1fac15b69..40666a27f 100644
--- a/testsuite/Testsrc/test_code_checks.py
+++ b/testsuite/Testsrc/test_code_checks.py
@@ -216,7 +216,7 @@ class TestPylint(Bcfg2TestCase):
extra_args = []
args = self.pylint_cmd + extra_args + \
[os.path.join(srcpath, p) for p in paths]
- pylint = Popen(args, stdout=PIPE, stderr=STDOUT, env=self.get_env())
+ pylint = Popen(args, stdout=PIPE, stderr=STDOUT)
print(pylint.communicate()[0])
self.assertEqual(pylint.wait(), 0)
@@ -270,7 +270,7 @@ class TestPylint(Bcfg2TestCase):
args = self.pylint_cmd + extra_args + \
["-f", "parseable", "-d", "R0801,E1103"] + \
[os.path.join(srcpath, p) for p in paths]
- pylint = Popen(args, stdout=PIPE, stderr=STDOUT, env=self.get_env())
+ pylint = Popen(args, stdout=PIPE, stderr=STDOUT)
output = pylint.communicate()[0]
rv = pylint.wait()
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf
index 14ccd1d23..63c2873ee 100644
--- a/testsuite/pylintrc.conf
+++ b/testsuite/pylintrc.conf
@@ -19,7 +19,7 @@ persistent=no
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
-load-plugins=ext.exception_messages
+load-plugins=
[MESSAGES CONTROL]