示例#1
0
def suite():
    import unittest
    import doctest
    suite = unittest.TestSuite()
    suite.addTests(test_server.suite())
    suite.addTests(test_database.suite())
    suite.addTests(test_dataset.suite())
    return suite
示例#2
0
def suite():
    import unittest
    import doctest
    suite = unittest.TestSuite()
    suite.addTests(test_server.suite())
    suite.addTests(test_database.suite())
    suite.addTests(test_dataset.suite())
    return suite
def suite():
    import doctest, test_taoutils, test_contentmanagement, test_database
    s = unittest.TestSuite((
        doctest.DocTestSuite(taoggregatorservice),
        test_taoutils.suite(),
        test_contentmanagement.suite(),
        test_database.suite(),
        unittest.makeSuite(TestService),
        unittest.makeSuite(TestServiceState),
    ))
    return s