test/unittest_rset.py
changeset 4536 02d0803a60b8
parent 4461 a35c76ffed92
child 4850 bd640b137f50
child 4939 349af486f5ed
equal deleted inserted replaced
4535:71c86a315a9a 4536:02d0803a60b8
     4 :organization: Logilab
     4 :organization: Logilab
     5 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     7 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     8 """
     8 """
     9 #from __future__ import with_statement
     9 
       
    10 from urlparse import urlsplit
       
    11 
       
    12 from rql import parse
    10 
    13 
    11 from logilab.common.testlib import TestCase, unittest_main
    14 from logilab.common.testlib import TestCase, unittest_main
    12 
    15 
    13 from cubicweb.devtools.testlib import CubicWebTC
    16 from cubicweb.devtools.testlib import CubicWebTC
    14 from cubicweb.selectors import traced_selection
       
    15 
       
    16 from urlparse import urlsplit
       
    17 from rql import parse
       
    18 
       
    19 from cubicweb.rset import NotAnEntity, ResultSet, attr_desc_iterator
    17 from cubicweb.rset import NotAnEntity, ResultSet, attr_desc_iterator
    20 
    18 
    21 
    19 
    22 def pprelcachedict(d):
    20 def pprelcachedict(d):
    23     res = {}
    21     res = {}