def test_fromElementValueTextSingle(self):
        element = domish.Element((NS_X_DATA, 'field'))
        element['type'] = 'text-single'
        element.addElement('value', content=u'text')
        field = data_form.Field.fromElement(element)
        self.assertEquals('text', field.value)
Parsed text-single field values should be of type C{unicode}.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_fromElementValueTextSingle