devtools/testlib.py
changeset 4523 d8127c2bd6b5
parent 4513 8abf464d2ffe
child 4681 5f72584ab1d7
--- a/devtools/testlib.py	Tue Feb 09 16:20:17 2010 +0100
+++ b/devtools/testlib.py	Tue Feb 09 16:20:45 2010 +0100
@@ -503,7 +503,7 @@
         else:
             self.fail('expected a Redirect exception')
 
-    def expect_redirect_publish(self, req, path='view'):
+    def expect_redirect_publish(self, req, path='edit'):
         """call the publish method of the application publisher, expecting to
         get a Redirect exception
         """