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