def run_full(): assert not issource res = test('full', doctests=True) return res.errors + res.failures
def run(*args, **kws): """ Run tests with given options """ print_info() return int(not test(*args, **kws))
def run_tests(*var, **args): res.append(test(*var, **args))
def run_fast(): assert not issource res = test() return res.errors + res.failures
def run_full(): """ Run full tests including tests marked 'slow' and doctests """ res = test('full', doctests=True) return len(res.errors + res.failures)
def run_fast(): """ Run fast tests """ res = test() return len(res.errors + res.failures)
def run_tests(*var, **args): res.append(int(not test(*var, **args)))
def run_full(): """ Run full tests including tests marked 'slow' and doctests """ print_info() return int(not test('full', doctests=True))
def run_fast(): """ Run fast tests """ print_info() return int(not test())