view bitten/tests/__init__.py @ 616:dd64ca07ecae

Move tests that can be run with only the slave modules present to a separate `slave_tests` package
author dfraser
date Wed, 05 Aug 2009 09:34:04 +0000
parents 5b4a1f1872d3
children a315e68e012a
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de>
# Copyright (C) 2007 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://bitten.edgewall.org/wiki/License.

import unittest
from bitten.tests import admin, master, model, queue, web_ui, notify
from bitten.slave_tests import slave, recipe
from bitten.build import tests as build
from bitten.report import tests as report
from bitten.util import tests as util

def suite():
    suite = unittest.TestSuite()
    suite.addTest(admin.suite())
    suite.addTest(master.suite())
    suite.addTest(model.suite())
    suite.addTest(recipe.suite())
    suite.addTest(queue.suite())
    suite.addTest(slave.suite())
    suite.addTest(web_ui.suite())
    suite.addTest(build.suite())
    suite.addTest(report.suite())
    suite.addTest(util.suite())
    suite.addTest(notify.suite())
    return suite

if __name__ == '__main__':
    unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software