diff -r 2ee0ef069fa7 -r 2a3c1b787688 server/test/unittest_postgres.py --- a/server/test/unittest_postgres.py Thu Feb 02 14:33:30 2012 +0100 +++ b/server/test/unittest_postgres.py Mon Jan 23 13:25:02 2012 +0100 @@ -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 Logilab-common. +# +# Logilab-common 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. +# +# Logilab-common 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 Logilab-common. If not, see . + from __future__ import with_statement import socket @@ -7,7 +25,7 @@ from cubicweb.devtools import ApptestConfiguration from cubicweb.devtools.testlib import CubicWebTC -from cubicweb.selectors import is_instance +from cubicweb.predicates import is_instance from cubicweb.entities.adapters import IFTIndexableAdapter AT_LOGILAB = socket.gethostname().endswith('.logilab.fr') # XXX