[test] no more __cubicweb_internal_field__ value displayed on password widget stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Feb 2010 10:35:06 +0100
branchstable
changeset 4678 45661175f1da
parent 4677 c701aac36f5c
child 4679 d8ad65dab3e9
[test] no more __cubicweb_internal_field__ value displayed on password widget
web/test/unittest_form.py
--- 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})