web/test/unittest_formfields.py
branchstable
changeset 8519 e436688f75f4
parent 7879 9aae456abab5
child 8666 1dd655788ece
--- a/web/test/unittest_formfields.py	Wed Aug 22 14:19:30 2012 +0200
+++ b/web/test/unittest_formfields.py	Wed Aug 22 17:20:06 2012 +0200
@@ -147,7 +147,7 @@
     def test_property_key_field(self):
         from cubicweb.web.views.cwproperties import PropertyKeyField
         req = self.request()
-        field = PropertyKeyField()
+        field = PropertyKeyField(name='test')
         e = self.vreg['etypes'].etype_class('CWProperty')(req)
         renderer = self.vreg['formrenderers'].select('base', req)
         form = EntityFieldsForm(req, entity=e)