[Erp5-report] r22916 - /erp5/trunk/products/ERP5/tests/testXHTML.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 6 18:35:57 CEST 2008
Author: jerome
Date: Wed Aug 6 18:35:56 2008
New Revision: 22916
URL: http://svn.erp5.org?rev=22916&view=rev
Log:
support view names with GET parameters
Modified:
erp5/trunk/products/ERP5/tests/testXHTML.py
Modified: erp5/trunk/products/ERP5/tests/testXHTML.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testXHTML.py?rev=22916&r1=22915&r2=22916&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testXHTML.py (original)
+++ erp5/trunk/products/ERP5/tests/testXHTML.py Wed Aug 6 18:35:56 2008
@@ -315,7 +315,7 @@
action_information['visible']==1 and
action_information['text'].startswith('string:${object_url}/') and
len(action_information['text'].split('/'))==2):
- view_name = action_information['text'].split('/')[-1]
+ view_name = action_information['text'].split('/')[-1].split('?', 0)
method = makeTestMethod(validator,
module_id,
portal_path,
More information about the Erp5-report
mailing list