diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-14 13:40:59 -0600 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-14 13:40:59 -0600 |
commit | 1878d1ebd78942478b85400a4d5308147e081879 (patch) | |
tree | 313f8c881648b7adb47da2442b63b2ee0462bad9 /testsuite/Testsrc | |
parent | b71ed4ef2c9d6ad21eb1c8a4a92d902558f38886 (diff) | |
download | bcfg2-1878d1ebd78942478b85400a4d5308147e081879.tar.gz bcfg2-1878d1ebd78942478b85400a4d5308147e081879.tar.bz2 bcfg2-1878d1ebd78942478b85400a4d5308147e081879.zip |
Revert "remove exception_messages pylint extension to try to fix unit tests"
This reverts commit b71ed4ef2c9d6ad21eb1c8a4a92d902558f38886.
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r-- | testsuite/Testsrc/test_code_checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py index 40666a27f..1fac15b69 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) + pylint = Popen(args, stdout=PIPE, stderr=STDOUT, env=self.get_env()) 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) + pylint = Popen(args, stdout=PIPE, stderr=STDOUT, env=self.get_env()) output = pylint.communicate()[0] rv = pylint.wait() |