94
94
# pylint: disable-msg=W0612
95
95
suite = unittest.TestSuite()
96
96
suite.addTest(DocTestSuite(
98
98
optionflags=NORMALIZE_WHITESPACE | ELLIPSIS,
100
100
load_testcase = unittest.defaultTestLoader.loadTestsFromTestCase
101
101
# Add a test for every launchpad[.lazr].conf file in our tree.
103
103
for dirpath, dirnames, filenames in os.walk(config_dir):
104
104
if os.path.basename(dirpath) in EXCLUDED_CONFIGS:
105
105
del dirnames[:] # Don't look in subdirectories.