Exemple #1
0
def run_full():
    assert not issource
    res = test('full', doctests=True)
    return res.errors + res.failures
Exemple #2
0
def run(*args, **kws):
    """
    Run tests with given options
    """
    print_info()
    return int(not test(*args, **kws))
Exemple #3
0
 def run_tests(*var, **args):
     res.append(test(*var, **args))
Exemple #4
0
def run_fast():
    assert not issource
    res = test()
    return res.errors + res.failures
Exemple #5
0
def run_full():
    """
    Run full tests including tests marked 'slow' and doctests
    """
    res = test('full', doctests=True)
    return len(res.errors + res.failures)
Exemple #6
0
def run_fast():
    """
    Run fast tests
    """
    res = test()
    return len(res.errors + res.failures)
Exemple #7
0
 def run_tests(*var, **args):
     res.append(int(not test(*var, **args)))
Exemple #8
0
def run_full():
    """
    Run full tests including tests marked 'slow' and doctests
    """
    print_info()
    return int(not test('full', doctests=True))
Exemple #9
0
def run_fast():
    """
    Run fast tests
    """
    print_info()
    return int(not test())