From 42e8032b74ef4489a8c77a9dc9e5e7a7cc02b997 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 2 Jun 2016 15:04:41 +0800 Subject: add copyright to files in testAPI add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng --- .../opnfv_testapi/tests/unit/fake_pymongo.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py') diff --git a/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py b/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py index bebb9e8b3..e55696890 100644 --- a/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py +++ b/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py @@ -1,10 +1,15 @@ +############################################################################## +# 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 +############################################################################## from bson.objectid import ObjectId from concurrent.futures import ThreadPoolExecutor -__author__ = 'serena' - - def thread_execute(method, *args, **kwargs): with ThreadPoolExecutor(max_workers=2) as executor: result = executor.submit(method, *args, **kwargs) -- cgit 1.2.3-korg