From 50583db565fbb4d541d308ec54be6f5ba651c56b Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 16 Nov 2005 10:39:41 +0000 Subject: [PATCH] Use ERP5TypeTestCase method instead of hardcoding the IDs. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4341 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/testERP5Type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/tests/testERP5Type.py b/product/ERP5Type/tests/testERP5Type.py index 9c3269e44a..4bd0b93dc3 100755 --- a/product/ERP5Type/tests/testERP5Type.py +++ b/product/ERP5Type/tests/testERP5Type.py @@ -99,7 +99,7 @@ class TestERP5Type(ERP5TypeTestCase): def test_02_AqDynamic(self): portal = self.getPortal() - module = portal.person + module = self.getPersonModule() person = module.newContent(id='1', portal_type='Person') from Products.ERP5Type import Document # Person class should have no method getFirstName -- 2.30.9