diff --git a/product/ERP5/tests/testAccounting.py b/product/ERP5/tests/testAccounting.py index f5c2d7fd3a7d8611b209f944646ce67758780b59..4d310cf08236083f21477d613195d8f4f1841125 100644 --- a/product/ERP5/tests/testAccounting.py +++ b/product/ERP5/tests/testAccounting.py @@ -1332,6 +1332,8 @@ class TestAccounting(ERP5TypeTestCase): # without updating business template. account.edit(is_credit_account=False) self.failIf(account.isCreditAccount()) + account.edit(is_credit_account=True) + self.failUnless(account.getProperty('is_credit_account')) if __name__ == '__main__': framework()