summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-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 87b63a6ab..17fac4fe4 100644
--- a/testsuite/Testsrc/test_code_checks.py
+++ b/testsuite/Testsrc/test_code_checks.py
@@ -70,9 +70,9 @@ no_checks = {
"lib/Bcfg2/Server/Reports": ["manage.py"],
"lib/Bcfg2/Server/Plugins": ["Base.py"],
}
-if sys.version_info > (2, 5):
+if sys.version_info < (2, 6):
# multiprocessing core requires py2.6
- no_checks['lib/Bcfg2/Server'].append('MultiprocessingCore.py')
+ no_checks['lib/Bcfg2/Server'] = ['MultiprocessingCore.py']
try:
any
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf
index 653c68426..e13a51d0d 100644
--- a/testsuite/pylintrc.conf
+++ b/testsuite/pylintrc.conf
@@ -147,7 +147,7 @@ ignore-mixin-members=yes
# List of classes names for which member attributes should not be checked
# (useful for classes with attributes dynamically set).
-ignored-classes=ForeignKey,Interaction,git.cmd.Git
+ignored-classes=ForeignKey,Interaction,git.cmd.Git,argparse.Namespace,Namespace
# When zope mode is activated, add a predefined set of Zope acquired attributes
# to generated-members.