Пример #1
0
def suite():
    from acct_mgr.tests import api, db, htfile, register
    suite = unittest.TestSuite()
    suite.addTest(api.suite())
    suite.addTest(db.suite())
    suite.addTest(htfile.suite())
    suite.addTest(register.suite())
    if INCLUDE_FUNCTIONAL_TESTS:
        from acct_mgr.tests.functional import suite as functional_suite
        suite.addTest(functional_suite())
    return suite
Пример #2
0
def suite():
    from acct_mgr.tests import admin, api, db, guard, htfile, model, register
    from acct_mgr.tests import util
    suite = unittest.TestSuite()
    suite.addTest(admin.suite())
    suite.addTest(api.suite())
    suite.addTest(db.suite())
    suite.addTest(guard.suite())
    suite.addTest(htfile.suite())
    suite.addTest(model.suite())
    suite.addTest(register.suite())
    suite.addTest(util.suite())
    if INCLUDE_FUNCTIONAL_TESTS:
        from acct_mgr.tests.functional import suite as functional_suite
        suite.addTest(functional_suite())
    return suite
Пример #3
0
def suite():
    from acct_mgr.tests import admin, api, db, guard, htfile, model, register
    from acct_mgr.tests import util
    suite = unittest.TestSuite()
    suite.addTest(admin.suite())
    suite.addTest(api.suite())
    suite.addTest(db.suite())
    suite.addTest(guard.suite())
    suite.addTest(htfile.suite())
    suite.addTest(model.suite())
    suite.addTest(register.suite())
    suite.addTest(util.suite())
    if INCLUDE_FUNCTIONAL_TESTS:
        from acct_mgr.tests.functional import suite as functional_suite
        suite.addTest(functional_suite())
    return suite