[CMF-checkins] CVS: Products/CMFCore/tests - testCookieCrumbler.py:1.4.2.1

Yvo Schubbe y.2004_ at wcm-solutions.de
Sun Sep 19 14:27:54 EDT 2004


Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv15925/CMFCore/tests

Modified Files:
      Tag: CMF-1_5-branch
	testCookieCrumbler.py 
Log Message:
- improved 'came_from' URL


=== Products/CMFCore/tests/testCookieCrumbler.py 1.4 => 1.4.2.1 ===
--- Products/CMFCore/tests/testCookieCrumbler.py:1.4	Thu Aug 12 11:07:40 2004
+++ Products/CMFCore/tests/testCookieCrumbler.py	Sun Sep 19 14:27:54 2004
@@ -185,6 +185,7 @@
     def testLoginRestoresQueryString(self):
         # When redirecting for login, the came_from form field should
         # include the submitted URL as well as the query string.
+        self.req['PATH_INFO'] = '/protected'
         self.req['QUERY_STRING'] = 'a:int=1&x:string=y'
         try:
             self.req.traverse('/protected')



More information about the CMF-checkins mailing list