# HG changeset patch # User Sylvain Thénault # Date 1261141805 -3600 # Node ID d087a3a3b16f2917935b1ea49286e834c24e4ee6 # Parent 3a2d6c38bcd987ea91b584de614fffedb77c451b clearer api: distinguish app_publish / ctrl_publish diff -r 3a2d6c38bcd9 -r d087a3a3b16f 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: