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