Commit b471e0e5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

only check for uid !=0 objects.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10d1f479
......@@ -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, [])
......
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