Commit e92982ea authored by Ivan Tyagov's avatar Ivan Tyagov

Comment fixed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12668 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d13df1dc
...@@ -90,8 +90,8 @@ class TestPerson(ERP5TypeTestCase): ...@@ -90,8 +90,8 @@ class TestPerson(ERP5TypeTestCase):
person_copy = person_module.manage_copyObjects(ids=(person.getId(),)) person_copy = person_module.manage_copyObjects(ids=(person.getId(),))
person_copy_id = person_module.manage_pasteObjects(person_copy)[0]['new_id'] person_copy_id = person_module.manage_pasteObjects(person_copy)[0]['new_id']
person_copy_obj = person_module[person_copy_id] person_copy_obj = person_module[person_copy_id]
## because we copy/paste Person object in the same ERP5 ## because we setup Person object from business template
## instance its reference must be resetted ## its reference must NOT be resetted
self.assertEquals(person_copy_obj.getReference(), person.getReference()) self.assertEquals(person_copy_obj.getReference(), person.getReference())
if __name__ == '__main__': if __name__ == '__main__':
......
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