equal
deleted
inserted
replaced
173 |
173 |
174 class ClickAndEditFormUICFGTC(ReleditMixinTC, CubicWebTC): |
174 class ClickAndEditFormUICFGTC(ReleditMixinTC, CubicWebTC): |
175 |
175 |
176 def setup_database(self): |
176 def setup_database(self): |
177 super(ClickAndEditFormUICFGTC, self).setup_database() |
177 super(ClickAndEditFormUICFGTC, self).setup_database() |
178 self.tick.set_relations(concerns=self.proj) |
178 self.tick.cw_set(concerns=self.proj) |
179 self.proj.set_relations(manager=self.toto) |
179 self.proj.cw_set(manager=self.toto) |
180 |
180 |
181 def test_with_uicfg(self): |
181 def test_with_uicfg(self): |
182 old_rctl = reledit_ctrl._tagdefs.copy() |
182 old_rctl = reledit_ctrl._tagdefs.copy() |
183 reledit_ctrl.tag_attribute(('Project', 'title'), |
183 reledit_ctrl.tag_attribute(('Project', 'title'), |
184 {'novalue_label': '<title is required>', 'reload': True}) |
184 {'novalue_label': '<title is required>', 'reload': True}) |