summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py')
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py
index 7624023e8..7190c671b 100644
--- a/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py
+++ b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py
@@ -1,16 +1,20 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
+##############################################################################
+# Copyright (c) 2016 ZTE Corporation
+# feng.xiaowei@zte.com.cn
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
import urlparse
import json
import inspect
+
import tornado.web
import tornado.template
-from settings import SWAGGER_VERSION, \
- SWAGGER_API_LIST, \
- SWAGGER_API_SPEC
-from settings import models
-__author__ = 'serena'
+from settings import SWAGGER_VERSION, SWAGGER_API_LIST, SWAGGER_API_SPEC
+from settings import models
def json_dumps(obj, pretty=False):