diff options
author | 2016-05-18 13:32:50 +0800 | |
---|---|---|
committer | 2016-05-18 17:25:53 +0800 | |
commit | 6f3276ffc0066193c19d6b098d12d4af25509f9d (patch) | |
tree | 772d9c1b4a0f480400ebbf9eaaf88e6758de7858 /result_collection_api/resources/handlers.py | |
parent | d719f7428de763767b491b983ce214c329ba37b1 (diff) |
add pod related unittests in testAPI
unittest for create/get/list pod in testAPI project
JIRA: FUNCTEST-252
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/resources/handlers.py')
-rw-r--r-- | result_collection_api/resources/handlers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/result_collection_api/resources/handlers.py b/result_collection_api/resources/handlers.py index c1e8eb1..fff1662 100644 --- a/result_collection_api/resources/handlers.py +++ b/result_collection_api/resources/handlers.py @@ -13,7 +13,8 @@ from tornado.web import RequestHandler, asynchronous, HTTPError from tornado import gen from datetime import datetime, timedelta -from models import Pod, TestProject, TestCase, TestResult +from models import TestProject, TestCase, TestResult +from resources.pod_models import Pod from common.constants import DEFAULT_REPRESENTATION, HTTP_BAD_REQUEST, \ HTTP_NOT_FOUND, HTTP_FORBIDDEN from common.config import prepare_put_request |