cubicweb/server/test/unittest_repository.py
changeset 11767 432f87a63057
parent 11763 39df042f4ab4
child 11773 054a947b5415
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
     1 # -*- coding: iso-8859-1 -*-
     1 # -*- coding: iso-8859-1 -*-
     2 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     4 #
     4 #
     5 # This file is part of CubicWeb.
     5 # This file is part of CubicWeb.
     6 #
     6 #
     7 # CubicWeb is free software: you can redistribute it and/or modify it under the
     7 # CubicWeb is free software: you can redistribute it and/or modify it under the
    27 from yams.constraints import UniqueConstraint
    27 from yams.constraints import UniqueConstraint
    28 from yams import register_base_type, unregister_base_type
    28 from yams import register_base_type, unregister_base_type
    29 
    29 
    30 from logilab.database import get_db_helper
    30 from logilab.database import get_db_helper
    31 
    31 
    32 from cubicweb import (BadConnectionId, ValidationError,
    32 from cubicweb import (ValidationError,
    33                       UnknownEid, AuthenticationError, Unauthorized, QueryError)
    33                       UnknownEid, AuthenticationError, Unauthorized, QueryError)
    34 from cubicweb.predicates import is_instance
    34 from cubicweb.predicates import is_instance
    35 from cubicweb.schema import RQLConstraint
    35 from cubicweb.schema import RQLConstraint
    36 from cubicweb.devtools.testlib import CubicWebTC
    36 from cubicweb.devtools.testlib import CubicWebTC
    37 from cubicweb.devtools.repotest import tuplify
    37 from cubicweb.devtools.repotest import tuplify