Commits

slug...@gmail.com  committed 87f5f24

Adjust tests for magic ID attribute in hidden fields.

  • Participants
  • Parent commits 3e447a4

Comments (0)

Files changed (1)

File tests/test_modeltags.py

     def test_hidden_field(self):
         self.assertEqual(
             self.m.hidden("name"),
-            u'<input name="name" type="hidden" value="Jim" />'
+            u'<input id="name" name="name" type="hidden" value="Jim" />'
         )
 
     def test_password_field(self):
     def test_hidden_field(self):
         self.assertEqual(
             self.m.hidden("name"),
-            u'<input name="name" type="hidden" value="Jim" />'
+            u'<input id="name" name="name" type="hidden" value="Jim" />'
         )
 
     def test_password_field(self):
     def test_hidden_field(self):
         self.assertEqual(
             self.m.hidden("name"),
-            u'<input name="name" type="hidden" value="" />'
+            u'<input id="name" name="name" type="hidden" value="" />'
         )
 
     def test_password_field(self):