From f384b12b46fd982f414e38c651071bebe3eb6a62 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 22 Feb 2010 12:14:20 +0000
Subject: [PATCH] create account_module/bank.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32943 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testAccountingRules.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testAccountingRules.py b/product/ERP5/tests/testAccountingRules.py
index 6ad0306d10..46b5b218f8 100644
--- a/product/ERP5/tests/testAccountingRules.py
+++ b/product/ERP5/tests/testAccountingRules.py
@@ -383,7 +383,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
         title = "Income Notebook",
         account_type = "income",
       )
-      income = account_module.newContent(
+      income_barebone = account_module.newContent(
         id = "income_barebone",
         portal_type = self.account_portal_type,
         title = "Income Barebone",
@@ -395,6 +395,12 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
         title = "Receivable",
         account_type = "asset/receivable",
       )
+      bank = account_module.newContent(
+        id = "bank",
+        portal_type=self.account_portal_type,
+        title = "Bank",
+        account_type = "asset/cash/bank",
+      )
       collected_vat = account_module.newContent(
         id = "collected_vat",
         portal_type=self.account_portal_type,
@@ -406,6 +412,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
       income          = account_module.income,
       income_barebone = account_module.income_barebone,
       receivable      = account_module.receivable,
+      bank   = account_module.bank,
       collected_vat   = account_module.collected_vat,
     )
 
-- 
2.30.9