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