summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-14 13:50:38 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-14 13:50:38 -0600
commit64272ec221702c33c4f80b8a3daeefa8c3ca648e (patch)
tree765d29141bdf2f5620b944b73bcbfa3e60c37f26 /testsuite/Testsrc
parent1878d1ebd78942478b85400a4d5308147e081879 (diff)
downloadbcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.tar.gz
bcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.tar.bz2
bcfg2-64272ec221702c33c4f80b8a3daeefa8c3ca648e.zip
testsuite: fixed sys.path in pylint tests
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r--testsuite/Testsrc/test_code_checks.py2
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