[Checkins] SVN: Products.CMFCore/branches/2.2/Products/CMFCore/tests/test_ActionInformation.py - fix test setup to account for manage_propertiesForm changes

Jens Vagelpohl jens at dataflake.org
Wed May 26 11:08:55 EDT 2010


Log message for revision 112729:
  - fix test setup to account for manage_propertiesForm changes
  

Changed:
  U   Products.CMFCore/branches/2.2/Products/CMFCore/tests/test_ActionInformation.py

-=-
Modified: Products.CMFCore/branches/2.2/Products/CMFCore/tests/test_ActionInformation.py
===================================================================
--- Products.CMFCore/branches/2.2/Products/CMFCore/tests/test_ActionInformation.py	2010-05-26 14:53:37 UTC (rev 112728)
+++ Products.CMFCore/branches/2.2/Products/CMFCore/tests/test_ActionInformation.py	2010-05-26 15:08:55 UTC (rev 112729)
@@ -107,7 +107,7 @@
         request.set('manage_page_header', _header)
         request.set('manage_page_footer', _footer)
         request.set('BASEPATH1', '/one/two')
-        request.set('URL1', '/one/two')
+        setattr(request, 'URL1', '/one/two')
         request._steps = ['one', 'two']
 
         prd = {'ac_permissions': ('a', 'b')}



More information about the checkins mailing list