summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-02 15:04:41 +0800
committerSerena Feng <feng.xiaowei@zte.com.cn>2016-06-02 07:10:37 +0000
commit42e8032b74ef4489a8c77a9dc9e5e7a7cc02b997 (patch)
tree7ff522393d22d564fcdabc1341adadeab72142cd /utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py
parent5eae42a2e355e671e7906aa6e0d3d885dfd85c4b (diff)
add copyright to files in testAPI
add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py')
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py
index b290e058d..3d21edefb 100644
--- a/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py
+++ b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger/swagger.py
@@ -1,16 +1,21 @@
-#!/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 inspect
from functools import wraps
-import epydoc.markup
from HTMLParser import HTMLParser
+
+import epydoc.markup
import tornado.web
+
from settings import default_settings, models
from handlers import swagger_handlers
-__author__ = 'serena'
-
class EpytextParser(HTMLParser):
a_text = False