odl.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:functest 作者: opnfv 项目源码 文件源码
def main():
    """Entry point"""
    logging.basicConfig()
    odl = ODLTests()
    parser = ODLParser()
    args = parser.parse_args(sys.argv[1:])
    try:
        result = odl.run_suites(ODLTests.default_suites, **args)
        if result != robotframework.RobotFramework.EX_OK:
            return result
        if args['pushtodb']:
            return odl.push_to_db()
        else:
            return result
    except Exception:  # pylint: disable=broad-except
        return robotframework.RobotFramework.EX_RUN_ERROR
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号