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

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


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

Modified Files:
	testCookieCrumbler.py 
Log Message:
- improved 'came_from' URL


=== Products/CMFCore/tests/testCookieCrumbler.py 1.4 => 1.5 ===
--- Products/CMFCore/tests/testCookieCrumbler.py:1.4	Thu Aug 12 11:07:40 2004
+++ Products/CMFCore/tests/testCookieCrumbler.py	Sun Sep 19 14:28:22 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