--- a/web/test/unittest_views_editforms.py Tue May 12 11:49:30 2009 +0200
+++ b/web/test/unittest_views_editforms.py Tue May 12 11:56:12 2009 +0200
@@ -9,7 +9,8 @@
class AutomaticEntityFormTC(EnvBasedTC):
def test_custom_widget(self):
- AEF.rwidgets.tag_relation('!CWUser', 'login', '*', AutoCompletionWidget)
+ AEF.rwidgets.tag_subject_of(('CWUser', 'login', '*'),
+ AutoCompletionWidget)
form = self.vreg.select_object('forms', 'edition', self.request(), None,
entity=self.user())
field = form.field_by_name('login')