From a867f6e2ec6d2b25de8808015c1fe7d4b0d82e2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com>
Date: Tue, 19 Jan 2010 09:10:08 +0000
Subject: [PATCH] Remove unused imports in ERP5Banking unit tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31811 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Banking/tests/TestERP5BankingMixin.py             | 1 -
 .../tests/testERP5BankingAccountingCancellation.py            | 3 ---
 product/ERP5Banking/tests/testERP5BankingAccountingDate.py    | 2 +-
 .../ERP5Banking/tests/testERP5BankingAvailableInventory.py    | 4 +---
 .../ERP5Banking/tests/testERP5BankingBankAccountInventory.py  | 1 -
 .../ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py | 1 -
 .../ERP5Banking/tests/testERP5BankingCashClassification.py    | 1 -
 product/ERP5Banking/tests/testERP5BankingCashExchange.py      | 1 -
 product/ERP5Banking/tests/testERP5BankingCashInventory.py     | 1 -
 product/ERP5Banking/tests/testERP5BankingCashMovement.py      | 2 +-
 .../tests/testERP5BankingCashMovementNewNotEmitted.py         | 1 -
 product/ERP5Banking/tests/testERP5BankingCashSorting.py       | 1 -
 .../tests/testERP5BankingCashToCurrencyPurchase.py            | 2 --
 .../ERP5Banking/tests/testERP5BankingCashToCurrencySale.py    | 1 -
 product/ERP5Banking/tests/testERP5BankingCheckDeposit.py      | 4 +---
 product/ERP5Banking/tests/testERP5BankingCheckPayment.py      | 3 +--
 product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py | 3 ---
 product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py | 1 -
 .../ERP5Banking/tests/testERP5BankingCheckbookReception.py    | 1 -
 .../tests/testERP5BankingCheckbookUsualCashTransfer.py        | 3 +--
 .../tests/testERP5BankingCheckbookVaultTransfer.py            | 1 -
 .../ERP5Banking/tests/testERP5BankingClassificationSurvey.py  | 1 -
 product/ERP5Banking/tests/testERP5BankingCounterDate.py       | 3 ---
 product/ERP5Banking/tests/testERP5BankingCounterRendering.py  | 2 +-
 product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py | 2 +-
 .../ERP5Banking/tests/testERP5BankingForeignCashReception.py  | 1 -
 .../ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py  | 1 -
 .../ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py  | 1 -
 .../ERP5Banking/tests/testERP5BankingMonetaryDestruction.py   | 2 +-
 product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py     | 1 -
 product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py    | 2 +-
 product/ERP5Banking/tests/testERP5BankingMonetaryReception.py | 1 -
 product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py    | 2 +-
 product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py      | 1 -
 .../ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py | 2 +-
 product/ERP5Banking/tests/testERP5BankingStopPayment.py       | 3 ---
 .../ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py | 3 ---
 product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py | 3 ---
 .../ERP5Banking/tests/testERP5BankingUsualCashRendering.py    | 2 +-
 product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py | 2 +-
 product/ERP5Banking/tests/testERP5BankingVaultTransfer.py     | 2 +-
 41 files changed, 15 insertions(+), 60 deletions(-)

diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py
index 07a6b7fef5..1995892c30 100644
--- a/product/ERP5Banking/tests/TestERP5BankingMixin.py
+++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py
@@ -27,7 +27,6 @@
 ##############################################################################
 
 from DateTime import DateTime
-from zLOG import LOG
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
 
 def isSameSet(a, b):
diff --git a/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py b/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
index 1ce92eb85f..9c9b2dbb09 100644
--- a/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
+++ b/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
@@ -29,11 +29,8 @@
 
 # import requested python module
 import os
-from zLOG import LOG
 from DateTime import DateTime
-from Products.CMFCore.utils import getToolByName
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingAccountingDate.py b/product/ERP5Banking/tests/testERP5BankingAccountingDate.py
index ea3ec1fbe4..29171addca 100644
--- a/product/ERP5Banking/tests/testERP5BankingAccountingDate.py
+++ b/product/ERP5Banking/tests/testERP5BankingAccountingDate.py
@@ -29,7 +29,7 @@
 from DateTime import DateTime
 from Products.ERP5Type.tests.Sequence import SequenceList
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 
 QUIET = False
 RUN_ALL_TEST = True
diff --git a/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py b/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py
index 5eb5e8dff0..87278a9908 100644
--- a/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py
+++ b/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py
@@ -29,11 +29,9 @@
 
 # import requested python module
 import os
-from zLOG import LOG
 from DateTime import DateTime
-from Products.CMFCore.utils import getToolByName
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckPayment \
       import TestERP5BankingCheckPaymentMixin
 from Products.ERP5Banking.tests.testERP5BankingMoneyDeposit \
diff --git a/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py b/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py
index 524023282b..15b704853b 100644
--- a/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py
+++ b/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 from DateTime import DateTime
 
diff --git a/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py b/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
index 112797fb13..e451b1af7c 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCashClassification.py b/product/ERP5Banking/tests/testERP5BankingCashClassification.py
index ffc23c3add..fabfff4bdc 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashClassification.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashClassification.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCashExchange.py b/product/ERP5Banking/tests/testERP5BankingCashExchange.py
index d44a57c79c..fa89ba2272 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashExchange.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashExchange.py
@@ -31,7 +31,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCashInventory.py b/product/ERP5Banking/tests/testERP5BankingCashInventory.py
index 787f412ea6..7e921adf61 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashInventory.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashInventory.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 from DateTime import DateTime
 
diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovement.py b/product/ERP5Banking/tests/testERP5BankingCashMovement.py
index 3e05939caa..4b8987bee3 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashMovement.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashMovement.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
index feec46525d..e4661eb635 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingMonetaryIssue import TestERP5BankingMonetaryReceptionMixin
 from DateTime import DateTime
 
diff --git a/product/ERP5Banking/tests/testERP5BankingCashSorting.py b/product/ERP5Banking/tests/testERP5BankingCashSorting.py
index 54cfc7d41d..4de0f1a77d 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashSorting.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashSorting.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py b/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
index 07515c5a43..ca2f655ea3 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
@@ -30,9 +30,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
-from DateTime import DateTime
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py b/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
index 31f41dc648..c98e7429fa 100644
--- a/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
+++ b/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py
index 88e85cc899..c4dcaf01bf 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py
@@ -29,11 +29,9 @@
 
 # import requested python module
 import os
-from zLOG import LOG
 from DateTime import DateTime
-from Products.CMFCore.utils import getToolByName
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 from Products.DCWorkflow.DCWorkflow import ValidationFailed
 
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckPayment.py b/product/ERP5Banking/tests/testERP5BankingCheckPayment.py
index e8e3be92cc..f0ba0c3f99 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckPayment.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckPayment.py
@@ -31,9 +31,8 @@
 import os
 from zLOG import LOG
 from DateTime import DateTime
-from Products.CMFCore.utils import getToolByName
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
index 94ad75975f..27904d43a4 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
@@ -30,12 +30,9 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \
      import TestERP5BankingCheckbookUsualCashTransferMixin
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
-from DateTime import DateTime
-from zLOG import LOG
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py b/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
index b15a2b1ad4..aa7d6552fd 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \
     import TestERP5BankingCheckbookVaultTransferMixin
 
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
index 6fe6182012..76acfc0ceb 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
index d654680eb5..f3e90d760a 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
@@ -30,10 +30,9 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \
      import TestERP5BankingCheckbookVaultTransferMixin
-from DateTime import DateTime
 from zLOG import LOG
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
index 0876c51346..e4547f260b 100644
--- a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
+++ b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py b/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
index 9b9f93686e..1d60ac2709 100644
--- a/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
+++ b/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingCounterDate.py b/product/ERP5Banking/tests/testERP5BankingCounterDate.py
index 472fc5d920..d4305a2014 100644
--- a/product/ERP5Banking/tests/testERP5BankingCounterDate.py
+++ b/product/ERP5Banking/tests/testERP5BankingCounterDate.py
@@ -34,9 +34,6 @@ from DateTime import DateTime
 from Testing import ZopeTestCase
 from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
-#from Products.ERP5Banking.tests.testERP5BankingCheckPayment \
-#      import TestERP5BankingCheckPaymentMixin
-from Products.ERP5Form.Document.Preference import Priority
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingCounterRendering.py b/product/ERP5Banking/tests/testERP5BankingCounterRendering.py
index c51598eb35..f27295b5bb 100644
--- a/product/ERP5Banking/tests/testERP5BankingCounterRendering.py
+++ b/product/ERP5Banking/tests/testERP5BankingCounterRendering.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py b/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
index 3af8808dae..dded887000 100644
--- a/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
+++ b/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py b/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py
index 10ce06aa46..7ace02b271 100644
--- a/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py
+++ b/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py b/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
index 2309d1935b..b2e2e2936a 100644
--- a/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
+++ b/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py b/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
index d9376ca0b6..d5a2b3e87c 100644
--- a/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
+++ b/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py b/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
index 49e559df35..a1a03817a8 100644
--- a/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
+++ b/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 from DateTime import DateTime
 
diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py b/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
index 1e5386e450..adb68866dd 100644
--- a/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
+++ b/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 from DateTime import DateTime
 
diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py b/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
index ca2f044807..50e85b61f4 100644
--- a/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
+++ b/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py b/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py
index c90de88cc1..f15b3e4676 100644
--- a/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py
+++ b/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py b/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
index 6a6860e0ca..60ad24f91d 100644
--- a/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
+++ b/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
@@ -30,7 +30,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py b/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
index 319e9ce439..bf4bfb3cc6 100644
--- a/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
+++ b/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
@@ -30,7 +30,6 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py b/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
index 2c0839b3fe..a187c07d89 100644
--- a/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
+++ b/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingStopPayment.py b/product/ERP5Banking/tests/testERP5BankingStopPayment.py
index 1fee784a22..cdd74a3d19 100644
--- a/product/ERP5Banking/tests/testERP5BankingStopPayment.py
+++ b/product/ERP5Banking/tests/testERP5BankingStopPayment.py
@@ -30,15 +30,12 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \
      import TestERP5BankingCheckbookVaultTransferMixin
 from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \
      import TestERP5BankingCheckbookUsualCashTransferMixin
 from Products.ERP5Banking.tests.testERP5BankingCheckbookDelivery \
      import TestERP5BankingCheckbookDeliveryMixin
-from DateTime import DateTime
-from zLOG import LOG
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
index 9d86173424..44d6e04a91 100644
--- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
+++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
@@ -30,13 +30,10 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \
      import TestERP5BankingCheckbookUsualCashTransferMixin
 from Products.ERP5Banking.tests.testERP5BankingTravelerCheckSale \
      import TestERP5BankingTravelerCheckSaleMixin
-from DateTime import DateTime
-from zLOG import LOG
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
index d724ba61af..f769ea4bc2 100644
--- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
+++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
@@ -30,12 +30,9 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
 from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \
      import TestERP5BankingCheckbookUsualCashTransferMixin
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
-from DateTime import DateTime
-from zLOG import LOG
 
 # Needed in order to have a log file inside the current folder
 os.environ['EVENT_LOG_FILE']     = os.path.join(os.getcwd(), 'zLOG.log')
diff --git a/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py b/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
index f6e5ffe041..7b722b8601 100644
--- a/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
+++ b/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py b/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
index 62383f2d26..370d185eaa 100644
--- a/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
+++ b/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
diff --git a/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py
index 9ebfb2b7e8..83539598c8 100644
--- a/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py
+++ b/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py
@@ -32,7 +32,7 @@
 # import requested python module
 import os
 from Products.ERP5Type.tests.Sequence import SequenceList
-from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed
+from Products.DCWorkflow.DCWorkflow import ValidationFailed
 from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin
 
 # Needed in order to have a log file inside the current folder
-- 
2.30.9