def test_suite(): suite = unittest.TestSuite() load = unittest.defaultTestLoader.loadTestsFromTestCase suite.addTest(load(TestCopyFile)) suite.addTest(load(TestMove)) suite.addTest(load(TestShutil)) return 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)) return suite
def test_suite(): suite = unittest.TestSuite() for fn in os.listdir(here): if fn.startswith("test") and fn.endswith(".py"): modname = "distutils2._backport.tests." + fn[:-3] __import__(modname) module = sys.modules[modname] suite.addTest(module.test_suite()) return suite
def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestPyPIWrapper)) return suite
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(VersionWhiteBoxTestCase)] return unittest.TestSuite(suite)
def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestXMLRPCClient)) return suite
def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestDistInfo)) suite.addTest(unittest.makeSuite(TestReleaseInfo)) suite.addTest(unittest.makeSuite(TestReleasesList)) return suite
def test_suite(): suite = unittest.TestSuite() load = unittest.defaultTestLoader.loadTestsFromTestCase suite.addTest(load(TestSysConfig)) suite.addTest(load(MakefileTests)) return suite