--- a/server/test/unittest_postgres.py Mon Mar 26 12:11:48 2012 +0200
+++ b/server/test/unittest_postgres.py Thu Apr 05 22:42:40 2012 +0200
@@ -1,3 +1,21 @@
+# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of CubicWeb.
+#
+# CubicWeb 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 2.1 of the License, or (at your option)
+# any later version.
+#
+# CubicWeb 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
+
from __future__ import with_statement
import socket
--- a/server/test/unittest_querier.py Mon Mar 26 12:11:48 2012 +0200
+++ b/server/test/unittest_querier.py Thu Apr 05 22:42:40 2012 +0200
@@ -18,6 +18,8 @@
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""unit tests for modules cubicweb.server.querier and cubicweb.server.ssplanner
"""
+from __future__ import with_statement
+
from datetime import date, datetime, timedelta, tzinfo
from logilab.common.testlib import TestCase, unittest_main