From 90f59b85296d2781da1037fc3b0e507851ceaf24 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 31 Dec 2007 14:47:04 +0000
Subject: [PATCH] Do not hide the error if module cannot be found.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18569 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../tests/testERP5BankingCashMovementNewNotEmitted.py         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
index b09b15ad58..50b1dbbc4f 100755
--- a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
@@ -66,10 +66,10 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM
     return "ERP5BankingCashMovementNewNotEmitted"
 
   def getCashMovementModule(self):
-    return getattr(self.getPortal(), 'cash_movement_new_not_emmited_module', None)
+    return getattr(self.getPortal(), 'cash_movement_new_not_emmited_module')
 
   def getMonetaryReceptionModule(self):
-    return getattr(self.getPortal(), 'monetary_reception_module', None)
+    return getattr(self.getPortal(), 'monetary_reception_module')
 
   def afterSetUp(self):
     """
-- 
2.30.9