diff --git a/product/ERP5/tests/testERP5Core.py b/product/ERP5/tests/testERP5Core.py index c8a7ea7d31fbf14c4a0f92a2dde2597f30b96dc1..e94b36d50a26ddcbf454535d486b86a445ef0c56 100644 --- a/product/ERP5/tests/testERP5Core.py +++ b/product/ERP5/tests/testERP5Core.py @@ -493,7 +493,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): def test_getPropertyForUid(self): error_list = [] for i in self.portal.objectValues(): - if i.getUid() != i.getProperty('uid'): + if i.getUid() != 0 and i.getUid() != i.getProperty('uid'): error_list.append((i.getId(), i.getUid(), i.getProperty('uid'))) self.assertEquals(error_list, [])