Commit 35a9c6ef authored by Romain Courteaud's avatar Romain Courteaud

Removed some hardcoded tests.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4340 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 877fe437
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment