Commit 1bcec405 authored by Jérome Perrin's avatar Jérome Perrin

update a comment


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24244 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8fba7f06
...@@ -316,8 +316,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor): ...@@ -316,8 +316,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
transaction.commit() transaction.commit()
self.assertEquals(o._p_jar, None) self.assertEquals(o._p_jar, None)
# Check that creating 2 consecutive temp object automatically increases # Temp objects always get 'None' ID by default.
# their ID
o = portal.person_module.newContent(portal_type="Person", o = portal.person_module.newContent(portal_type="Person",
temp_object=1) temp_object=1)
first_id = o.getId() first_id = o.getId()
......
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