--- 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)