[Erp5-report] r30880 - /erp5/trunk/products/ERP5/tests/testERP5Commerce.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 26 20:34:00 CET 2009


Author: lucas
Date: Thu Nov 26 20:33:59 2009
New Revision: 30880

URL: http://svn.erp5.org?rev=30880&view=rev
Log:
Replace the Web Section name for the form name.

Modified:
    erp5/trunk/products/ERP5/tests/testERP5Commerce.py

Modified: erp5/trunk/products/ERP5/tests/testERP5Commerce.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Commerce.py?rev=30880&r1=30879&r2=30880&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Commerce.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Commerce.py [utf8] Thu Nov 26 20:33:59 2009
@@ -720,7 +720,9 @@
     #6 : paypal step 3 : check if this token is confirmed by paypal
     error = self.website.WebSection_checkPaypalIdentification()
     self.assertEquals(error, None)
-    self.assertTrue('/cart' in request.RESPONSE.getHeader('location'))
+
+    url_location = request.RESPONSE.getHeader('location')
+    self.assertTrue('/SaleOrder_viewAsWeb' in url_location)
 
     #7 : paypal step 4 : validate the payment
     self.assertEquals(1,




More information about the Erp5-report mailing list