cubicweb/server/test/unittest_postgres.py
changeset 12567 26744ad37953
parent 12146 d540defa0591
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    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 CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 
    18 
    19 from datetime import datetime
    19 from datetime import datetime
    20 from threading import Thread
    20 from threading import Thread
    21 
       
    22 from six.moves import range
       
    23 
    21 
    24 import logilab.database as lgdb
    22 import logilab.database as lgdb
    25 from cubicweb import ValidationError
    23 from cubicweb import ValidationError
    26 from cubicweb.devtools import PostgresApptestConfiguration, startpgcluster, stoppgcluster
    24 from cubicweb.devtools import PostgresApptestConfiguration, startpgcluster, stoppgcluster
    27 from cubicweb.devtools.testlib import CubicWebTC
    25 from cubicweb.devtools.testlib import CubicWebTC