From f631fdde2c0897fb01a37e88c7ecb92b44b82147 Mon Sep 17 00:00:00 2001 From: Tom Cammann Date: Wed, 20 Jan 2016 14:13:42 +0000 Subject: [PATCH] Add missing licenses to files License headers were missing from test files. Also remove empty tests/util.py file. Change-Id: Iecd13930c4c4b4c5235f13274f92e56a3f9a75f5 --- tests/test_cathead.py | 14 ++++++++++++++ tests/test_certwatcher.py | 14 ++++++++++++++ tests/test_selfsigndriver.py | 14 ++++++++++++++ tests/test_x509.py | 14 ++++++++++++++ tests/util.py | 0 5 files changed, 56 insertions(+) delete mode 100644 tests/util.py diff --git a/tests/test_cathead.py b/tests/test_cathead.py index 3d81d96..4c9d441 100644 --- a/tests/test_cathead.py +++ b/tests/test_cathead.py @@ -1,3 +1,17 @@ +# (c) Copyright 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import unittest from cathead import cathead diff --git a/tests/test_certwatcher.py b/tests/test_certwatcher.py index 71abf2c..9d32e8c 100644 --- a/tests/test_certwatcher.py +++ b/tests/test_certwatcher.py @@ -1,3 +1,17 @@ +# (c) Copyright 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import datetime import tempfile import unittest diff --git a/tests/test_selfsigndriver.py b/tests/test_selfsigndriver.py index cc02c1c..c856725 100644 --- a/tests/test_selfsigndriver.py +++ b/tests/test_selfsigndriver.py @@ -1,3 +1,17 @@ +# (c) Copyright 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import re import tempfile import unittest diff --git a/tests/test_x509.py b/tests/test_x509.py index b8b8879..56c4f8c 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -1,3 +1,17 @@ +# (c) Copyright 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import datetime import re import unittest diff --git a/tests/util.py b/tests/util.py deleted file mode 100644 index e69de29..0000000