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(TestCenterSecurity))
    suite.addTest(makeSuite(TestProjectSecurity))
    if ZopeTestCase.hasProduct('PloneHelpCenter'):
        suite.addTest(makeSuite(TestPloneHelpCenterIntegration))
    else:
        developer_warning("PloneHelpCenter integration tests ignored.")
    return suite
示例#3
0
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