web/test/unittest_form.py
changeset 10273 ef74abcf369d
parent 10016 984505da8b89
child 10572 2d5f7780b568
--- 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')