fix violation of import rule in TestAPI
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Mon, 20 Feb 2017 06:32:29 +0000 (14:32 +0800)
committerSerena Feng <feng.xiaowei@zte.com.cn>
Tue, 21 Feb 2017 03:09:59 +0000 (03:09 +0000)
commitfd9becfdd2ac98ad55541987a2104ab46ca8fc99
tree90c37c9a854b1e60c1d3234a7483810f7bf4048b
parent5b0a40fe23993b7a799279290dabe767c2702bd6
fix violation of import rule in TestAPI

TestAPI violate import rule of OpenStack Style a lot, like
Do not import objects, only modules
Do not import more than one module per line
Alphabetically order your imports by the full module path
This patch is mean to fix them.

Change-Id: Ia05b944a74b3f443c9101a9840f613f9a6f5ae49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
17 files changed:
testapi/opnfv_testapi/cmd/server.py
testapi/opnfv_testapi/common/config.py
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/resources/pod_handlers.py
testapi/opnfv_testapi/resources/project_handlers.py
testapi/opnfv_testapi/resources/result_handlers.py
testapi/opnfv_testapi/resources/scenario_handlers.py
testapi/opnfv_testapi/resources/testcase_handlers.py
testapi/opnfv_testapi/router/url_mappings.py
testapi/opnfv_testapi/tests/unit/test_base.py
testapi/opnfv_testapi/tests/unit/test_fake_pymongo.py
testapi/opnfv_testapi/tests/unit/test_pod.py
testapi/opnfv_testapi/tests/unit/test_project.py
testapi/opnfv_testapi/tests/unit/test_result.py
testapi/opnfv_testapi/tests/unit/test_scenario.py
testapi/opnfv_testapi/tests/unit/test_testcase.py
testapi/opnfv_testapi/tests/unit/test_version.py