@manager.command
def test():
    tests = unittest.TestLoader().discover('project/tests', pattern='test*.py')
    result = unittest.TextTestRunner(verbosity=2).run(tests)
    if result.wasSuccessful():
        return 0
    return 1
Human readable status
dataset/ETHPy150Open realpython/flask-skeleton/manage.py/test--crossover with--dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py/Task.status_human