Commit 5aafbcc8 authored by Jérome Perrin's avatar Jérome Perrin

also tests that getProperty('is_credit_account') supports backward compatilibty


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10911 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d05ea4fa
...@@ -1332,6 +1332,8 @@ class TestAccounting(ERP5TypeTestCase): ...@@ -1332,6 +1332,8 @@ class TestAccounting(ERP5TypeTestCase):
# without updating business template. # without updating business template.
account.edit(is_credit_account=False) account.edit(is_credit_account=False)
self.failIf(account.isCreditAccount()) self.failIf(account.isCreditAccount())
account.edit(is_credit_account=True)
self.failUnless(account.getProperty('is_credit_account'))
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
......
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