[Erp5-report] r22924 - /erp5/trunk/products/ERP5/tests/testXHTML.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 7 11:16:10 CEST 2008


Author: jerome
Date: Thu Aug  7 11:16:10 2008
New Revision: 22924

URL: http://svn.erp5.org?rev=22924&view=rev
Log:
wrong split() usage ...

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=22924&r1=22923&r2=22924&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testXHTML.py (original)
+++ erp5/trunk/products/ERP5/tests/testXHTML.py Thu Aug  7 11:16:10 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].split('?', 0)
+          view_name = action_information['text'].split('/')[-1].split('?')[0]
           method = makeTestMethod(validator,
                                   module_id, 
                                   portal_path,




More information about the Erp5-report mailing list