Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
def suite():
    """Gather all the tests from this package in a test suite."""
    import test_pyzor
    import test_server
    import test_digest
    import test_engines
    import test_account
    import test_forwarder

    test_suite = unittest.TestSuite()

    test_suite.addTest(test_pyzor.suite())
    test_suite.addTest(test_digest.suite())
    test_suite.addTest(test_server.suite())
    test_suite.addTest(test_engines.suite())
    test_suite.addTest(test_account.suite())
    test_suite.addTest(test_forwarder.suite())
    return test_suite
Exemplo n.º 4
0
def suite():
    """Gather all the tests from this package in a test suite."""
    import test_pyzor
    import test_server
    import test_digest
    import test_engines
    import test_account
    import test_forwarder

    test_suite = unittest.TestSuite()

    test_suite.addTest(test_pyzor.suite())
    test_suite.addTest(test_digest.suite())
    test_suite.addTest(test_server.suite())
    test_suite.addTest(test_engines.suite())
    test_suite.addTest(test_account.suite())
    test_suite.addTest(test_forwarder.suite())
    return test_suite
Exemplo n.º 5
0
'''
Created on Oct 15, 2012

@author: eric
'''

import unittest
import test_bundle
import test_library
import test_server

if __name__ == '__main__':
    suite = unittest.TestSuite()
    
    suite.addTests(test_bundle.suite())
    suite.addTests(test_library.suite())
    suite.addTests(test_server.suite())

    unittest.TextTestRunner().run(suite)