--- a/web/test/unittest_views_editforms.py Mon Dec 21 20:28:01 2009 +0100
+++ b/web/test/unittest_views_editforms.py Mon Dec 21 20:28:08 2009 +0100
@@ -25,7 +25,7 @@
{'widget': AutoCompletionWidget(autocomplete_initfunc='get_logins')})
form = self.vreg['forms'].select('edition', self.request(),
entity=self.user())
- field = form.field_by_name('login')
+ field = form.field_by_name('login', 'subject')
self.assertIsInstance(field.widget, AutoCompletionWidget)
AFFK.del_rtag('CWUser', 'login', '*', 'subject')