summaryrefslogtreecommitdiffstats
path: root/legacy/tests
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:22:44 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:25:33 +0800
commit3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch)
tree704edf5368e322ca0c723425714ef4ddbf562d1c /legacy/tests
parent642ccf1b4f905d779b33b224ace16c3c0abf25a1 (diff)
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 <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'legacy/tests')
-rw-r--r--legacy/tests/api/test_server.py8
-rw-r--r--legacy/tests/cli_test.py8
-rw-r--r--legacy/tests/create_zones_test.py8
-rw-r--r--legacy/tests/driver_test.py8
-rw-r--r--legacy/tests/functional/yaml_schema_test.py8
-rw-r--r--legacy/tests/helper/perftest.yaml8
-rw-r--r--legacy/tests/helper/suite.yaml8
-rw-r--r--legacy/tests/helper/version.yaml8
-rw-r--r--legacy/tests/spawn_vm_test.py8
9 files changed, 72 insertions, 0 deletions
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