From 35a9c6ef811221ed30210b10f3d438788ffd88c5 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 16 Nov 2005 10:34:21 +0000 Subject: [PATCH] Removed some hardcoded tests. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4340 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testERP5Category.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/tests/testERP5Category.py b/product/ERP5/tests/testERP5Category.py index 130cfd1d37..470d31c1e6 100755 --- a/product/ERP5/tests/testERP5Category.py +++ b/product/ERP5/tests/testERP5Category.py @@ -185,10 +185,10 @@ class TestERP5Category(ERP5TypeTestCase): organisation2 = self.organisation2 organisation.setAbcValueList([telephone2]) self.assertEquals(organisation.getAbcValueList(),[telephone2]) - self.assertEquals(organisation.getAbcList(),['organisation/2/1']) + self.assertEquals(organisation.getAbcList(),[telephone2.getRelativeUrl()]) organisation2.edit(id='new_id') self.assertEquals(organisation.getAbcValueList(),[telephone2]) - self.assertEquals(organisation.getAbcList(),['organisation/new_id/1']) + self.assertEquals(organisation.getAbcList(),[telephone2.getRelativeUrl()]) def test_05(self, quiet=0, run=run_all_test): if not run: return -- 2.30.9