From d7d7ee45824a4e64566ccbed51f30a72c2ee5b60 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Tue, 24 Oct 2006 08:59:20 +0000
Subject: [PATCH] make the creation of banknote and coins before creating a new
 traveler check

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10906 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Banking/tests/testERP5BankingCheckbookReception.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
index 4cafad3bf1..e3ccbb9e59 100755
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
@@ -100,13 +100,13 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase):
 
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
+    self.createBanknotesAndCoins()
     self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model')
     self.checkbook_model_1 = self.createCheckbookModel('checkbook_model_1')
     self.check_model_1 = self.createCheckModel('check_model_1')
     self.reception = self.paris.caveau.auxiliaire.encaisse_des_billets_et_monnaies
     self.destination_site = self.paris
     self.checkUserFolderType()
-    self.createBanknotesAndCoins()
     self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',
                           function='banking', group='baobab',  site='testsite/paris')
     # define the user
-- 
2.30.9