[Erp5-report] r41482 nicolas.dumazet - /erp5/trunk/products/ERP5/tests/testERP5Commerce.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 16 08:02:17 CET 2010


Author: nicolas.dumazet
Date: Thu Dec 16 08:02:17 2010
New Revision: 41482

URL: http://svn.erp5.org?rev=41482&view=rev
Log:
synchronize with r41333: getShopUrl() now returns an absolute url

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=41482&r1=41481&r2=41482&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Commerce.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Commerce.py [utf8] Thu Dec 16 08:02:17 2010
@@ -918,7 +918,7 @@ class TestCommerce(ERP5TypeTestCase):
     """
     product = self.getDefaultProduct()
     self.assertEquals(product.Resource_getShopUrl(),
-                 '%s/%s' % (product.getRelativeUrl(), 'Resource_viewAsShop'))
+                 '%s/%s' % (product.absolute_url(), 'Resource_viewAsShop'))
 
   @newSimulationExpectedFailure
   def test_28_finalizeShoppingWithComment(self):



More information about the Erp5-report mailing list