web/test/unittest_formfields.py
branchtls-sprint
changeset 1797 c2a80130b06d
parent 1654 57b9fd2462b8
child 1836 d3f0c6e868ef
--- a/web/test/unittest_formfields.py	Wed May 13 17:01:42 2009 +0200
+++ b/web/test/unittest_formfields.py	Wed May 13 17:21:35 2009 +0200
@@ -39,7 +39,7 @@
         description_format_field = guess_field(state_schema, schema['description_format'], skip_meta_attr=False)
         self.assertEquals(description_format_field.internationalizable, True)
         self.assertEquals(description_format_field.sort, True)
-        self.assertEquals(description_format_field.initial, 'text/rest')
+        self.assertEquals(description_format_field.initial(None), 'text/rest')
 
 #         wikiid_field = guess_field(state_schema, schema['wikiid'])
 #         self.assertIsInstance(wikiid_field, StringField)