clearer api: distinguish app_publish / ctrl_publish
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Dec 2009 14:10:05 +0100
changeset 4138 d087a3a3b16f
parent 4137 3a2d6c38bcd9
child 4139 2718f2fd0576
clearer api: distinguish app_publish / ctrl_publish
devtools/testlib.py
--- a/devtools/testlib.py	Fri Dec 18 14:09:24 2009 +0100
+++ b/devtools/testlib.py	Fri Dec 18 14:10:05 2009 +0100
@@ -472,7 +472,7 @@
     def app_publish(self, req, path='view'):
         return self.app.publish(path, req)
 
-    def publish(self, req):
+    def ctrl_publish(self, req):
         """call the publish method of the edit controller"""
         ctrl = self.vreg['controllers'].select('edit', req)
         try: