web/test/unittest_form.py
branchstable
changeset 9928 0d831b40fa48
parent 9377 4e0d8f06efbc
child 9984 793377697c81
equal deleted inserted replaced
9925:aee99876eb10 9928:0d831b40fa48
    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 xml.etree.ElementTree import fromstring
    19 from xml.etree.ElementTree import fromstring
    20 
    20 
    21 from logilab.common.testlib import unittest_main, mock_object
    21 from logilab.common.testlib import unittest_main, mock_object
    22 from logilab.common.compat import any
       
    23 
    22 
    24 from cubicweb import Binary, ValidationError
    23 from cubicweb import Binary, ValidationError
    25 from cubicweb.devtools.testlib import CubicWebTC
    24 from cubicweb.devtools.testlib import CubicWebTC
    26 from cubicweb.web.formfields import (IntField, StringField, RichTextField,
    25 from cubicweb.web.formfields import (IntField, StringField, RichTextField,
    27                                      PasswordField, DateTimeField,
    26                                      PasswordField, DateTimeField,