# HG changeset patch # User Sylvain Thénault # Date 1265728845 -3600 # Node ID d8127c2bd6b5d90153b4edf8f17300bbaf8720dd # Parent 271f201e3735bad5d33668f2e0658e03c0b6409a use 'edit' as defaut path for expect_redirect_publish diff -r 271f201e3735 -r d8127c2bd6b5 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 """