equal
deleted
inserted
replaced
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 CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 |
18 |
|
19 from io import StringIO |
19 import sys |
20 import sys |
20 import unittest |
21 import unittest |
21 |
|
22 from six import PY2 |
|
23 if PY2: |
|
24 from StringIO import StringIO |
|
25 else: |
|
26 from io import StringIO |
|
27 |
22 |
28 from cubicweb import devtools # noqa: E402 |
23 from cubicweb import devtools # noqa: E402 |
29 from cubicweb.devtools.testlib import CubicWebTC # noqa: E402 |
24 from cubicweb.devtools.testlib import CubicWebTC # noqa: E402 |
30 from cubicweb.server.checkintegrity import check, check_indexes, reindex_entities # noqa: E402 |
25 from cubicweb.server.checkintegrity import check, check_indexes, reindex_entities # noqa: E402 |
31 |
26 |