[Erp5-report] r20940 - /erp5/trunk/products/CMFActivity/tests/testCMFActivity.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 14 03:06:13 CEST 2008


Author: vincent
Date: Wed May 14 03:06:12 2008
New Revision: 20940

URL: http://svn.erp5.org?rev=20940&view=rev
Log:
PATH_INFO is now automaticaly set by ActivityTool when needed.

Modified:
    erp5/trunk/products/CMFActivity/tests/testCMFActivity.py

Modified: erp5/trunk/products/CMFActivity/tests/testCMFActivity.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/tests/testCMFActivity.py?rev=20940&r1=20939&r2=20940&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/tests/testCMFActivity.py (original)
+++ erp5/trunk/products/CMFActivity/tests/testCMFActivity.py Wed May 14 03:06:12 2008
@@ -2934,8 +2934,6 @@
     Organisation.translationTest = translationTest
     try:
       REQUEST = organisation.REQUEST
-      # PATH_INFO is only missing in unit tests
-      REQUEST.environ['PATH_INFO'] = '/Control_Panel/timer_service/process_timer'
       # Simulate what a browser would have sent to Zope
       REQUEST.environ['HTTP_ACCEPT_LANGUAGE'] = LANGUAGE
       organisation.activate(activity=activity).translationTest()




More information about the Erp5-report mailing list