diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-14 13:50:38 -0600 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-14 13:50:38 -0600 |
commit | 64272ec221702c33c4f80b8a3daeefa8c3ca648e (patch) | |
tree | 765d29141bdf2f5620b944b73bcbfa3e60c37f26 /testsuite/Testsrc/test_code_checks.py | |
parent | 1878d1ebd78942478b85400a4d5308147e081879 (diff) | |
download | bcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.tar.gz bcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.tar.bz2 bcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.zip |
testsuite: fixed sys.path in pylint tests
Diffstat (limited to 'testsuite/Testsrc/test_code_checks.py')
-rw-r--r-- | testsuite/Testsrc/test_code_checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py index 1fac15b69..ded9cd8e3 100644 --- a/testsuite/Testsrc/test_code_checks.py +++ b/testsuite/Testsrc/test_code_checks.py @@ -142,7 +142,7 @@ def blacklist_filter(filelist, blacklist): class TestPylint(Bcfg2TestCase): pylint_cmd = ["pylint", "--rcfile", rcfile, "--init-hook", - "import sys;sys.path.extend('%s')" % + "import sys;sys.path.append('%s')" % os.path.join(srcpath, "lib")] # regex to find errors and fatal errors |