summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-07 01:44:19 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-09 23:44:35 +0000
commit15a09da96d7e622de6b0571fac171fc2253c8a8f (patch)
tree2575eb538549455cfb3300368c235991436fe8e8 /tests/testutils.py
parent7c1b03bd459b0b3db441bd2984fe3a68e5357efb (diff)
downloadpsycopg2-15a09da96d7e622de6b0571fac171fc2253c8a8f.tar.gz
Added license to unit tests
As the test suite is now part of the source distribution.
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py25
1 files changed, 22 insertions, 3 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index b7c0fab..6d04fc0 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -1,6 +1,25 @@
-# Utility module for psycopg2 testing.
-#
-# Copyright (C) 2010 Daniele Varrazzo <daniele.varrazzo@gmail.com>
+# testutils.py - utility module for psycopg2 testing.
+#
+# Copyright (C) 2010-2011 Daniele Varrazzo <daniele.varrazzo@gmail.com>
+#
+# psycopg2 is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# In addition, as a special exception, the copyright holders give
+# permission to link this program with the OpenSSL library (or with
+# modified versions of OpenSSL that use the same license as OpenSSL),
+# and distribute linked combinations including the two.
+#
+# You must obey the GNU Lesser General Public License in all respects for
+# all of the code used other than OpenSSL.
+#
+# psycopg2 is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+# License for more details.
+
# Use unittest2 if available. Otherwise mock a skip facility with warnings.