use 'edit' as defaut path for expect_redirect_publish
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 09 Feb 2010 16:20:45 +0100
changeset 4523 d8127c2bd6b5
parent 4522 271f201e3735
child 4526 75dff36ff7a3
use 'edit' as defaut path for expect_redirect_publish
devtools/testlib.py
--- 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
         """