[Libosinfo] [PATCH osinfo-db 02/10] tests: Add license headers

Cole Robinson crobinso at redhat.com
Tue Mar 19 20:01:52 UTC 2019


And use consistent spacing after the comment header, before imports

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 tests/__init__.py        | 2 ++
 tests/osinfo.py          | 3 +++
 tests/test_isoinfo.py    | 3 +++
 tests/test_urls.py       | 3 +++
 tests/test_validation.py | 3 +++
 tests/util.py            | 3 +++
 6 files changed, 17 insertions(+)
 mode change 100644 => 100755 tests/test_validation.py

diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..ba6fe40 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,2 @@
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
diff --git a/tests/osinfo.py b/tests/osinfo.py
index f8ae9e1..65128bb 100644
--- a/tests/osinfo.py
+++ b/tests/osinfo.py
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
 
 from http.client import responses
 
diff --git a/tests/test_isoinfo.py b/tests/test_isoinfo.py
index db23c68..d0da6f9 100644
--- a/tests/test_isoinfo.py
+++ b/tests/test_isoinfo.py
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
 
 import logging
 import os
diff --git a/tests/test_urls.py b/tests/test_urls.py
index dab4117..5dc15b0 100644
--- a/tests/test_urls.py
+++ b/tests/test_urls.py
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
 
 import os
 import pytest
diff --git a/tests/test_validation.py b/tests/test_validation.py
old mode 100644
new mode 100755
index 275cbcf..3101390
--- a/tests/test_validation.py
+++ b/tests/test_validation.py
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
 
 import libxml2
 import pytest
diff --git a/tests/util.py b/tests/util.py
index 48e106e..b1e2ace 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# This work is licensed under the GNU GPLv2 or later.
+# See the COPYING file in the top-level directory.
 
 import logging
 import os
-- 
2.21.0




More information about the Libosinfo mailing list