summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r--testsuite/Testsrc/test_code_checks.py5
-rw-r--r--testsuite/Testsrc/test_doc.py2
2 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py
index c26d8c139..44c4633a7 100644
--- a/testsuite/Testsrc/test_code_checks.py
+++ b/testsuite/Testsrc/test_code_checks.py
@@ -79,9 +79,10 @@ no_checks = {
"lib/Bcfg2/Server/migrations": ["*.py"],
"lib/Bcfg2/Server/south_migrations": ["*.py"],
}
+
if sys.version_info < (2, 6):
- # multiprocessing core requires py2.6
- no_checks['lib/Bcfg2/Server'] = ['MultiprocessingCore.py']
+ # Server requires python 2.6
+ no_checks['lib/Bcfg2'] = ['Server']
try:
any
diff --git a/testsuite/Testsrc/test_doc.py b/testsuite/Testsrc/test_doc.py
index 93c8d1bb4..d105254c5 100644
--- a/testsuite/Testsrc/test_doc.py
+++ b/testsuite/Testsrc/test_doc.py
@@ -20,7 +20,7 @@ except ImportError:
HAS_SPHINX = False
-TEST_SPHINX = bool(os.environ.get('TEST_SPHINX', 'yes') != 'no')
+TEST_SPHINX = bool(os.environ.get('TEST_SPHINX', 'no') != 'no')
class DocTest(Bcfg2TestCase):