cubicweb/entities/test/unittest_wfobjs.py
changeset 12508 a8c1ea390400
parent 11057 0b59724cb3f2
equal deleted inserted replaced
12507:211472ab15c8 12508:a8c1ea390400
    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