devtools/testlib.py
changeset 5948 4154bdc85fe4
parent 5913 85240b3f9ee4
parent 5942 f7768f44b4ac
child 5974 cac990ad6180
--- a/devtools/testlib.py	Thu Jul 08 18:10:47 2010 +0200
+++ b/devtools/testlib.py	Thu Jul 08 18:48:44 2010 +0200
@@ -519,7 +519,7 @@
 
     def ctrl_publish(self, req, ctrl='edit'):
         """call the publish method of the edit controller"""
-        ctrl = self.vreg['controllers'].select(ctrl, req)
+        ctrl = self.vreg['controllers'].select(ctrl, req, appli=self.app)
         try:
             result = ctrl.publish()
             req.cnx.commit()