[web test] fix test broken by 199fefe396ab stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 22 Aug 2012 17:20:06 +0200
branchstable
changeset 8519 e436688f75f4
parent 8518 153a7c9cdca9
child 8520 fcd048fa6e6d
[web test] fix test broken by 199fefe396ab
web/test/unittest_formfields.py
--- 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)