equal
deleted
inserted
replaced
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """unit tests for selectors mechanism""" |
18 """unit tests for selectors mechanism""" |
19 |
19 |
20 from operator import eq, lt, le, gt |
20 from operator import eq, lt, le, gt |
21 from contextlib import contextmanager |
21 from contextlib import contextmanager |
22 |
|
23 from six.moves import range |
|
24 |
22 |
25 from logilab.common.testlib import TestCase, unittest_main |
23 from logilab.common.testlib import TestCase, unittest_main |
26 from logilab.common.decorators import clear_cache |
24 from logilab.common.decorators import clear_cache |
27 |
25 |
28 from cubicweb import Binary |
26 from cubicweb import Binary |