[Checkins] SVN: Products.CMFCore/trunk/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:09:18 EDT 2010


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

Changed:
  U   Products.CMFCore/trunk/Products/CMFCore/tests/test_ActionInformation.py

-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/tests/test_ActionInformation.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/tests/test_ActionInformation.py	2010-05-26 15:08:55 UTC (rev 112729)
+++ Products.CMFCore/trunk/Products/CMFCore/tests/test_ActionInformation.py	2010-05-26 15:09:18 UTC (rev 112730)
@@ -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