Exemplo n.º 1
0
def test_all(dsn=None):
    allsuites = unittest.TestSuite([
        test_abioticdamage.suite(),
        test_assimilation.suite(),
        test_partitioning.suite(),
        test_evapotranspiration.suite(),
        test_respiration.suite(),
        test_penmanmonteith.suite(),
        test_wofost.suite(dsn)
    ])
    unittest.TextTestRunner(verbosity=2).run(allsuites)
Exemplo n.º 2
0
def make_test_suite(dsn=None):
    """Assemble test suite and return it
    """
    allsuites = unittest.TestSuite([test_abioticdamage.suite(),
                                    test_assimilation.suite(),
                                    test_partitioning.suite(),
                                    test_evapotranspiration.suite(),
                                    test_respiration.suite(),
                                    test_penmanmonteith.suite(),
                                    test_wofost.suite(dsn)])
    return allsuites
Exemplo n.º 3
0
def make_test_suite(dsn=None):
    """Assemble test suite and return it
    """
    allsuites = unittest.TestSuite([
        test_abioticdamage.suite(),
        test_assimilation.suite(),
        test_partitioning.suite(),
        test_evapotranspiration.suite(),
        test_respiration.suite(),
        test_penmanmonteith.suite(),
        test_wofost.suite(dsn)
    ])
    return allsuites
Exemplo n.º 4
0
def test_all(dsn=None):
    allsuites = unittest.TestSuite(
        [
            test_abioticdamage.suite(),
            test_assimilation.suite(),
            test_partitioning.suite(),
            test_evapotranspiration.suite(),
            test_respiration.suite(),
            test_penmanmonteith.suite(),
            test_wofost.suite(dsn),
        ]
    )
    unittest.TextTestRunner(verbosity=2).run(allsuites)