Exemplo n.º 1
0
def suite():
    """Create the testsuite that has all the tests."""
    from zenodo.config import TEST_SUITES

    suite = unittest.TestSuite()
    for other_suite in iter_suites(packages=TEST_SUITES):
        suite.addTest(other_suite)
    return suite
Exemplo n.º 2
0
def suite():
    """Create the testsuite that has all the tests."""
    from zenodo.config import TEST_SUITES

    suite = unittest.TestSuite()
    for other_suite in iter_suites(packages=TEST_SUITES):
        suite.addTest(other_suite)
    return suite
Exemplo n.º 3
0
def suite():
    """Create the testsuite that has all the tests."""
    packages = [
        'inspire.modules.deposit',
        # Run after records have been created by other tests
        'inspire',
        'inspire.base',
    ]
    suite = unittest.TestSuite()
    for other_suite in iter_suites(packages=packages):
        suite.addTest(other_suite)
    return suite
Exemplo n.º 4
0
def suite():
    """Create the testsuite that has all the tests."""
    packages = [
        'zenodo.modules.deposit',
        'zenodo.modules.github',
        'zenodo.modules.preservationmeter',
        # Run after records have been created by other tests
        'zenodo',
        'zenodo.base',
    ]
    suite = unittest.TestSuite()
    for other_suite in iter_suites(packages=packages):
        suite.addTest(other_suite)
    return suite