web/test/unittest_reledit.py
changeset 8483 4ba11607d84a
parent 7595 83872394b5d9
child 8665 e65af61bde7d
equal deleted inserted replaced
8469:82272decfa99 8483:4ba11607d84a
   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})