Commit eeca219a authored by Yusei Tahara's avatar Yusei Tahara

Added subobject checking.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19593 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62660554
......@@ -3051,6 +3051,10 @@ class TestAccountingTransactionTemplate(AccountingTestCase):
self.assertEqual(len(preference.objectIds()), 1)
# make sure that subobjects are not unindexed after making template.
subobject_uid = document.objectValues()[0].getUid()
self.assertEqual(len(self.portal.portal_catalog(uid=subobject_uid)), 1)
self.accounting_module.manage_delObjects(ids=[document.getId()])
get_transaction().commit()
......
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