Use Exception instead of return code 15/28015/3
authorhelenyao <yaohelan@huawei.com>
Sat, 4 Feb 2017 01:58:01 +0000 (20:58 -0500)
committerhelenyao <yaohelan@huawei.com>
Mon, 13 Feb 2017 09:28:39 +0000 (04:28 -0500)
commit07bc03b6cec54d76868535e390783769d682cb97
tree3ff9a0767bdb5bc1b975d75117511e5a66854cd1
parent8eef71278d06f2fd91b99e6be19069ba077c2d29
Use Exception instead of return code

Checking Return status code after each step can be wrapped by Exception
catching
Also, the return code is not as informative as exception

Change-Id: Ic15791d1b8ee47e10cbae8bad46a2cb90ac2b46e
Signed-off-by: helenyao <yaohelan@huawei.com>
functest/opnfv_tests/openstack/rally/rally.py
functest/opnfv_tests/openstack/tempest/conf_utils.py
functest/opnfv_tests/openstack/tempest/tempest.py