def test_suite(): from unittest import TestSuite, makeSuite suite = TestSuite() suite.addTest(makeSuite(TestCenterSecurity)) suite.addTest(makeSuite(TestProjectSecurity)) if ZopeTestCase.hasProduct('PloneHelpCenter'): suite.addTest(makeSuite(TestPloneHelpCenterIntegration)) else: developer_warning("PloneHelpCenter integration tests ignored.") return suite
def test_suite(): from unittest import TestSuite, makeSuite suite = TestSuite() suite.addTest(makeSuite(TestProject)) suite.addTest(makeSuite(TestProjectView)) if ZopeTestCase.hasProduct('PloneHelpCenter'): suite.addTest(makeSuite(TestProjectWithPloneHelpCenterIntegration)) else: developer_warning("PloneHelpCenter integration tests ignored.") #suite.addTest(makeSuite(TestProjectInternationalized)) return suite