web/test/unittest_reledit.py
branchstable
changeset 8743 27a83746aebd
parent 8665 e65af61bde7d
child 9652 59626567eade
child 9871 3d3aa4dd6a32
--- a/web/test/unittest_reledit.py	Tue Mar 19 16:56:46 2013 +0100
+++ b/web/test/unittest_reledit.py	Wed Mar 20 17:40:25 2013 +0100
@@ -20,7 +20,7 @@
 """
 
 from cubicweb.devtools.testlib import CubicWebTC
-from cubicweb.web.uicfg import reledit_ctrl
+from cubicweb.web.views.uicfg import reledit_ctrl
 
 class ReleditMixinTC(object):
 
@@ -175,8 +175,8 @@
 
     def setup_database(self):
         super(ClickAndEditFormUICFGTC, self).setup_database()
-        self.tick.set_relations(concerns=self.proj)
-        self.proj.set_relations(manager=self.toto)
+        self.tick.cw_set(concerns=self.proj)
+        self.proj.cw_set(manager=self.toto)
 
     def test_with_uicfg(self):
         old_rctl = reledit_ctrl._tagdefs.copy()