Ejemplo n.º 1
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
Ejemplo n.º 2
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