From 3e443dff14a2be02b914e66f27b549d0ed4cc600 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 21 Feb 2017 15:22:44 +0800 Subject: Add licence header according to OPNFV contribution guidelines[1] by script[2] [1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines [2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3 Signed-off-by: Yujun Zhang --- legacy/tests/api/test_server.py | 8 ++++++++ legacy/tests/cli_test.py | 8 ++++++++ legacy/tests/create_zones_test.py | 8 ++++++++ legacy/tests/driver_test.py | 8 ++++++++ legacy/tests/functional/yaml_schema_test.py | 8 ++++++++ legacy/tests/helper/perftest.yaml | 8 ++++++++ legacy/tests/helper/suite.yaml | 8 ++++++++ legacy/tests/helper/version.yaml | 8 ++++++++ legacy/tests/spawn_vm_test.py | 8 ++++++++ 9 files changed, 72 insertions(+) (limited to 'legacy/tests') diff --git a/legacy/tests/api/test_server.py b/legacy/tests/api/test_server.py index e9364d3d..bf316f5d 100644 --- a/legacy/tests/api/test_server.py +++ b/legacy/tests/api/test_server.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 json import time diff --git a/legacy/tests/cli_test.py b/legacy/tests/cli_test.py index 0f3e4158..5b7eac65 100644 --- a/legacy/tests/cli_test.py +++ b/legacy/tests/cli_test.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 pytest import mock import os diff --git a/legacy/tests/create_zones_test.py b/legacy/tests/create_zones_test.py index dcfff5ec..1aa37477 100644 --- a/legacy/tests/create_zones_test.py +++ b/legacy/tests/create_zones_test.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 pytest import mock from mock import Mock, MagicMock diff --git a/legacy/tests/driver_test.py b/legacy/tests/driver_test.py index 432ce1ae..abe8cfbb 100644 --- a/legacy/tests/driver_test.py +++ b/legacy/tests/driver_test.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 pytest import mock from qtip.utils.driver import Driver diff --git a/legacy/tests/functional/yaml_schema_test.py b/legacy/tests/functional/yaml_schema_test.py index a975dca6..3c7994a5 100644 --- a/legacy/tests/functional/yaml_schema_test.py +++ b/legacy/tests/functional/yaml_schema_test.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 os import os.path from pykwalify.core import Core diff --git a/legacy/tests/helper/perftest.yaml b/legacy/tests/helper/perftest.yaml index 26c58452..57948b62 100644 --- a/legacy/tests/helper/perftest.yaml +++ b/legacy/tests/helper/perftest.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com and others. +# +# 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 +############################################################################## --- tests: diff --git a/legacy/tests/helper/suite.yaml b/legacy/tests/helper/suite.yaml index 718ae440..84bf9239 100644 --- a/legacy/tests/helper/suite.yaml +++ b/legacy/tests/helper/suite.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com and others. +# +# 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 +############################################################################## --- tests: diff --git a/legacy/tests/helper/version.yaml b/legacy/tests/helper/version.yaml index b23f16f2..59be4256 100644 --- a/legacy/tests/helper/version.yaml +++ b/legacy/tests/helper/version.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com and others. +# +# 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 +############################################################################## --- tests: diff --git a/legacy/tests/spawn_vm_test.py b/legacy/tests/spawn_vm_test.py index ba237378..ac58db27 100644 --- a/legacy/tests/spawn_vm_test.py +++ b/legacy/tests/spawn_vm_test.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 pytest import mock from mock import Mock, MagicMock -- cgit 1.2.3-korg