def suite(): """Run all tests""" suite = unittest.TestSuite() suite.addTest(client.suite()) suite.addTest(pool.suite()) suite.addTest(repository.suite()) suite.addTest(trac.versioncontrol.tests.suite()); return suite
def go(test_output): test_output_file = file(test_output, "wb") runner = HTMLTestRunner.HTMLTestRunner( stream=test_output_file, title="Device Pool Unit Test", description="Device Pool Unit Test package", verbosity=2 ) super_suite = poolunittest.PoolTestSuite() super_suite.addTest(pool.suite()) runner.run(super_suite)
def go(test_output): test_output_file = file(test_output, 'wb') runner = HTMLTestRunner.HTMLTestRunner( stream=test_output_file, title='Device Pool Unit Test', description='Device Pool Unit Test package', verbosity=2) super_suite = poolunittest.PoolTestSuite() super_suite.addTest(pool.suite()) runner.run(super_suite)
def suite(): """Run all tests""" suite = unittest.TestSuite() suite.addTest(core.suite()) suite.addTest(mergeinfo.suite()) suite.addTest(client.suite()) suite.addTest(delta.suite()) suite.addTest(pool.suite()) suite.addTest(ra.suite()) suite.addTest(wc.suite()) suite.addTest(repository.suite()) suite.addTest(auth.suite()) suite.addTest(trac.versioncontrol.tests.suite()) return suite
def suite(): """Run all tests""" s = unittest.TestSuite() s.addTest(core.suite()) s.addTest(mergeinfo.suite()) s.addTest(client.suite()) s.addTest(delta.suite()) s.addTest(pool.suite()) s.addTest(ra.suite()) s.addTest(wc.suite()) s.addTest(repository.suite()) s.addTest(auth.suite()) s.addTest(trac.versioncontrol.tests.suite()) return s
def suite(): """Run all tests""" settings = svn_cache_config_get() settings.cache_size = long(1024*1024*32) ### Need explicit long svn_cache_config_set(settings) s = unittest.TestSuite() s.addTest(core.suite()) s.addTest(checksum.suite()) s.addTest(mergeinfo.suite()) s.addTest(client.suite()) s.addTest(delta.suite()) s.addTest(pool.suite()) s.addTest(ra.suite()) s.addTest(wc.suite()) s.addTest(repository.suite()) s.addTest(auth.suite()) s.addTest(trac.versioncontrol.tests.suite()) return s