changeset 12567 | 26744ad37953 |
parent 12071 | fb0b74fecc4d |
child 12662 | 4b612e5b9d05 |
--- a/cubicweb/devtools/test/unittest_devctl.py Fri Apr 05 17:21:14 2019 +0200 +++ b/cubicweb/devtools/test/unittest_devctl.py Fri Apr 05 17:58:19 2019 +0200 @@ -21,10 +21,9 @@ import os.path as osp import sys from subprocess import Popen, PIPE, STDOUT +from tempfile import TemporaryDirectory from unittest import TestCase -from cubicweb.devtools.testlib import TemporaryDirectory - def newcube(directory, name): cmd = ['cubicweb-ctl', 'newcube', '--directory', directory, name]