summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-03 11:35:05 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-03 11:35:05 -0400
commit04e7e0c9e9f96b4ba8bdb349cc0a37d9a881a4d2 (patch)
tree9dc756a225b693ce611eeeb92613ab9fe3db96b9 /testsuite
parent29f501f5aa58c6f019c0570d19c20551c8ec9c87 (diff)
downloadbcfg2-04e7e0c9e9f96b4ba8bdb349cc0a37d9a881a4d2.tar.gz
bcfg2-04e7e0c9e9f96b4ba8bdb349cc0a37d9a881a4d2.tar.bz2
bcfg2-04e7e0c9e9f96b4ba8bdb349cc0a37d9a881a4d2.zip
testsuite: expanded pylint coverage
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/test_code_checks.py7
-rw-r--r--testsuite/pylintrc.conf2
2 files changed, 3 insertions, 6 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py
index 3eaad90ae..eb7892ef3 100644
--- a/testsuite/Testsrc/test_code_checks.py
+++ b/testsuite/Testsrc/test_code_checks.py
@@ -53,8 +53,7 @@ contingent_checks = {
# perform only error checking on the listed files
error_checks = {
- "sbin": ["bcfg2-build-reports", "bcfg2-info", "bcfg2-admin",
- "bcfg2-reports"],
+ "sbin": ["bcfg2-build-reports", "bcfg2-admin", "bcfg2-reports"],
"lib/Bcfg2": ["Proxy.py", "SSLServer.py"],
"lib/Bcfg2/Server": ["Admin", "Reports", "SchemaUpdater"],
"lib/Bcfg2/Client/Tools": ["launchd.py",
@@ -69,9 +68,7 @@ error_checks = {
"lib/Bcfg2/Server/Plugins": ["Decisions.py",
"Deps.py",
"Ldap.py",
- "Pkgmgr.py",
- "SSHbase.py",
- "SSLCA.py"]
+ "Pkgmgr.py"]
}
# perform no checks at all on the listed files
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf
index e44ad36e7..de5db87f3 100644
--- a/testsuite/pylintrc.conf
+++ b/testsuite/pylintrc.conf
@@ -201,7 +201,7 @@ variable-rgx=[a-z_][a-z0-9_]{2,30}(ID)?$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Good variable names which should always be accepted, separated by a comma
-good-names=_,rv,el,fd,ca,re,i,j,iv
+good-names=_,rv,el,fd,ca,re,i,j,iv,ip
# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata