server/test/unittest_postgres.py
changeset 8349 fdb796435d7b
parent 8190 2a3c1b787688
parent 8343 6bd8db130476
child 8694 d901c36bcfce
equal deleted inserted replaced
8340:622fcca4fe00 8349:fdb796435d7b
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of Logilab-common.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # Logilab-common is free software: you can redistribute it and/or modify it
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     7 # under the terms of the GNU Lesser General Public License as published by the
     7 # terms of the GNU Lesser General Public License as published by the Free
     8 # Free Software Foundation, either version 2.1 of the License, or (at your
     8 # Software Foundation, either version 2.1 of the License, or (at your option)
     9 # option) any later version.
     9 # any later version.
    10 #
    10 #
    11 # Logilab-common is distributed in the hope that it will be useful, but WITHOUT
    11 # CubicWeb is distributed in the hope that it will be useful, but WITHOUT
    12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with Logilab-common.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 
    18 
    19 from __future__ import with_statement
    19 from __future__ import with_statement
    20 
    20 
    21 import socket
    21 import socket
    22 from datetime import datetime
    22 from datetime import datetime