From 7a2a69a0c5a79c88874dd3ea3c9cecfb243fad4f Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 9 Oct 2012 07:13:46 -0400 Subject: fix pylint unit test errors --- testsuite/Testsrc/test_code_checks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuite/Testsrc') diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py index 481dd7fa3..1d1d271d6 100644 --- a/testsuite/Testsrc/test_code_checks.py +++ b/testsuite/Testsrc/test_code_checks.py @@ -34,7 +34,8 @@ except OSError: # perform checks on the listed files only if the module listed in the # keys can be imported contingent_checks = { - ("django",): {"lib/Bcfg2/Server": ["Reports", + ("django",): {"lib/Bcfg2": ["Reporting"], + "lib/Bcfg2/Server": ["Reports", "SchemaUpdater", "models.py"], "lib/Bcfg2/Server/Admin": ["Reports.py", "Syncdb.py"], @@ -55,7 +56,7 @@ contingent_checks = { # perform only error checking on the listed files error_checks = { "sbin": ["bcfg2-build-reports", "bcfg2-admin", "bcfg2-reports"], - "lib/Bcfg2": ["Proxy.py", "SSLServer.py"], + "lib/Bcfg2": ["Proxy.py", "SSLServer.py", "Reporting"], "lib/Bcfg2/Server": ["Reports", "SchemaUpdater"], "lib/Bcfg2/Server/Admin": ["Backup.py", "Bundle.py", -- cgit v1.2.3-1-g7c22