From 1c953d8204d09ae581c221ee24d648168b521bd2 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Thu, 16 Dec 2010 07:02:17 +0000
Subject: [PATCH] synchronize with r41333: getShopUrl() now returns an absolute
 url

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41482 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5Commerce.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testERP5Commerce.py b/product/ERP5/tests/testERP5Commerce.py
index 44a8c9bc28..dc89ee8acb 100644
--- a/product/ERP5/tests/testERP5Commerce.py
+++ b/product/ERP5/tests/testERP5Commerce.py
@@ -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):
-- 
2.30.9