summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2018-03-16 13:33:51 +0800
committerZhijiang Hu <hu.zhijiang@zte.com.cn>2018-03-19 14:54:38 +0800
commit9fb1b507dc7a77db2f9df7541932b43e88a3a4b3 (patch)
tree9abce7fd37b4508dab91ff994f2f4c930c2a897b /tests
parent0f6f12141ae7997713cbab0296038579376b476d (diff)
Fix Licence header missing issues
Change-Id: I186f94b6e7580974a32a3c3c48fdc891b8445937 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/openrc_conf/admin-openrc.sh8
-rw-r--r--tests/unit/test_daisy_server.py9
-rw-r--r--tests/unit/test_environment.py9
-rw-r--r--tests/unit/test_placeholder.py9
4 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/openrc_conf/admin-openrc.sh b/tests/data/openrc_conf/admin-openrc.sh
index 3db0bcf3..2440fda8 100644
--- a/tests/data/openrc_conf/admin-openrc.sh
+++ b/tests/data/openrc_conf/admin-openrc.sh
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2018 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
+##############################################################################
export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
diff --git a/tests/unit/test_daisy_server.py b/tests/unit/test_daisy_server.py
index ea9c495c..007279a7 100644
--- a/tests/unit/test_daisy_server.py
+++ b/tests/unit/test_daisy_server.py
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2018 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 pytest
import mock
diff --git a/tests/unit/test_environment.py b/tests/unit/test_environment.py
index f7cf5985..a0b39ffd 100644
--- a/tests/unit/test_environment.py
+++ b/tests/unit/test_environment.py
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2018 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 copy
import mock
diff --git a/tests/unit/test_placeholder.py b/tests/unit/test_placeholder.py
index 457e464c..a5298e14 100644
--- a/tests/unit/test_placeholder.py
+++ b/tests/unit/test_placeholder.py
@@ -1,2 +1,11 @@
+##############################################################################
+# Copyright (c) 2018 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
+##############################################################################
+
def test_holder():
assert True