web/test/unittest_form.py
branchstable
changeset 4678 45661175f1da
parent 4536 02d0803a60b8
child 5421 8167de96c523
--- a/web/test/unittest_form.py	Wed Feb 24 10:34:37 2010 +0100
+++ b/web/test/unittest_form.py	Wed Feb 24 10:35:06 2010 +0100
@@ -207,9 +207,9 @@
             upassword = PasswordField(eidparam=True, role='subject')
         form = PFForm(self.req, redirect_path='perdu.com', entity=self.entity)
         self.assertTextEquals(self._render_entity_field('upassword', form),
-                              '''<input id="upassword-subject:%(eid)s" name="upassword-subject:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" />
+                              '''<input id="upassword-subject:%(eid)s" name="upassword-subject:%(eid)s" tabindex="1" type="password" value="" />
 <br/>
-<input name="upassword-subject-confirm:%(eid)s" tabindex="1" type="password" value="__cubicweb_internal_field__" />
+<input name="upassword-subject-confirm:%(eid)s" tabindex="1" type="password" value="" />
 &#160;
 <span class="emphasis">confirm password</span>''' % {'eid': self.entity.eid})