예제 #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)
예제 #2
0
파일: __init__.py 프로젝트: kkremitzki/pcse
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
예제 #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
예제 #4
0
파일: __init__.py 프로젝트: sytbru/pcse
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)