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 import os, os.path as osp |
19 import os, os.path as osp |
20 from tempfile import mkdtemp, NamedTemporaryFile, TemporaryFile |
20 from tempfile import mkdtemp, NamedTemporaryFile, TemporaryFile |
21 import tempfile |
21 import tempfile |
22 from Queue import Queue, Empty |
|
23 from subprocess import Popen, check_call, CalledProcessError |
22 from subprocess import Popen, check_call, CalledProcessError |
24 from shutil import rmtree, copy as copyfile |
23 from shutil import rmtree, copy as copyfile |
25 from uuid import uuid4 |
24 from uuid import uuid4 |
|
25 |
|
26 from six.moves.queue import Queue, Empty |
26 |
27 |
27 # imported by default to simplify further import statements |
28 # imported by default to simplify further import statements |
28 from logilab.common.testlib import unittest_main, with_tempdir, InnerTest, Tags |
29 from logilab.common.testlib import unittest_main, with_tempdir, InnerTest, Tags |
29 from logilab.common.shellutils import getlogin |
30 from logilab.common.shellutils import getlogin |
30 |
31 |