devtools/testlib.py
changeset 4083 3b285889b8e9
parent 4053 7cc66b1d9183
child 4137 3a2d6c38bcd9
--- a/devtools/testlib.py	Wed Dec 09 15:19:48 2009 +0100
+++ b/devtools/testlib.py	Wed Dec 09 15:47:01 2009 +0100
@@ -503,7 +503,7 @@
         """call the publish method of the application publisher, expecting to
         get a Redirect exception
         """
-        return self.expect_redirect(lambda x: self.publish(x, path), req)
+        return self.expect_redirect(lambda x: self.app_publish(x, path), req)
 
     def init_authentication(self, authmode, anonuser=None):
         self.set_option('auth-mode', authmode)