def test_suite(): #README = os.path.join(os.path.dirname(__file__), 'README.txt') #suite = [doctest.DocFileSuite(README), unittest.makeSuite(VersionTestCase)] suite = [unittest.makeSuite(VersionTestCase), unittest.makeSuite(CompatibilityTestCase), unittest.makeSuite(LegacyVersionTestCase), unittest.makeSuite(SemanticVersionTestCase)] return unittest.TestSuite(suite)
def test_suite(): suite = unittest.TestSuite() load = unittest.defaultTestLoader.loadTestsFromTestCase suite.addTest(load(TestDistribution)) suite.addTest(load(TestEggInfoDistribution)) suite.addTest(load(TestDatabase)) suite.addTest(load(DataFilesTestCase)) suite.addTest(load(DepGraphTestCase)) return suite