diff -r 9bdc74142164 -r ef74abcf369d web/test/unittest_form.py --- a/web/test/unittest_form.py Thu Mar 05 11:44:29 2015 +0100 +++ b/web/test/unittest_form.py Thu Mar 12 12:29:25 2015 +0100 @@ -39,7 +39,7 @@ def test_form_field_format(self): with self.admin_access.web_request() as req: form = FieldsForm(req, None) - self.assertEqual(StringField().format(form), 'text/html') + self.assertEqual(StringField().format(form), 'text/plain') req.cnx.execute('INSERT CWProperty X: X pkey "ui.default-text-format", X value "text/rest", X for_user U WHERE U login "admin"') req.cnx.commit() self.assertEqual(StringField().format(form), 'text/rest')