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 cubicweb import ValidationError |
19 from cubicweb import _, ValidationError |
20 from cubicweb.devtools.testlib import CubicWebTC |
20 from cubicweb.devtools.testlib import CubicWebTC |
21 |
21 |
22 def add_wf(shell, etype, name=None, default=False): |
22 def add_wf(shell, etype, name=None, default=False): |
23 if name is None: |
23 if name is None: |
24 name = etype |
24 name = etype |