Commit d2dcdb38 authored by Jérome Perrin's avatar Jérome Perrin

wrap long lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23058 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8ec39e64
...@@ -3328,7 +3328,8 @@ class TestAccountingTransactionTemplate(AccountingTestCase): ...@@ -3328,7 +3328,8 @@ class TestAccountingTransactionTemplate(AccountingTestCase):
get_transaction().commit() get_transaction().commit()
self.tic() self.tic()
document = self.accounting_module.newContent(portal_type='Accounting Transaction') document = self.accounting_module.newContent(
portal_type='Accounting Transaction')
document.edit(title='My Accounting Transaction') document.edit(title='My Accounting Transaction')
document.Base_makeTemplateFromDocument(form_id=None) document.Base_makeTemplateFromDocument(form_id=None)
...@@ -3348,7 +3349,8 @@ class TestAccountingTransactionTemplate(AccountingTestCase): ...@@ -3348,7 +3349,8 @@ class TestAccountingTransactionTemplate(AccountingTestCase):
template = preference.objectValues()[0] template = preference.objectValues()[0]
cp = preference.manage_copyObjects(ids=[template.getId()], REQUEST=None, RESPONSE=None) cp = preference.manage_copyObjects(ids=[template.getId()],
REQUEST=None, RESPONSE=None)
new_document_list = self.accounting_module.manage_pasteObjects(cp) new_document_list = self.accounting_module.manage_pasteObjects(cp)
new_document_id = new_document_list[0]['new_id'] new_document_id = new_document_list[0]['new_id']
new_document = self.accounting_module[new_document_id] new_document = self.accounting_module[new_document_id]
......
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