[Erp5-report] r31795 gregory - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 18 11:32:41 CET 2010
Author: gregory
Date: Mon Jan 18 11:32:38 2010
New Revision: 31795
URL: http://svn.erp5.org?rev=31795&view=rev
Log:
Remove support of direct test launch.
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingAvailableInventory.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingBankAccountInventory.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterDate.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py [utf8] Mon Jan 18 11:32:38 2010
@@ -40,11 +40,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingAccountingCancellation(TestERP5BankingMixin):
"""
@@ -248,12 +243,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingAccountingCancellation))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingAvailableInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingAvailableInventory.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingAvailableInventory.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingAvailableInventory.py [utf8] Mon Jan 18 11:32:38 2010
@@ -44,11 +44,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingAvailableInventory(TestERP5BankingCheckPaymentMixin,
TestERP5BankingMoneyDepositMixin):
@@ -329,12 +324,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingAvailableInventory))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingBankAccountInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingBankAccountInventory.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingBankAccountInventory.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingBankAccountInventory.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingInventory(TestERP5BankingMixin):
@@ -196,12 +191,3 @@
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingInventory))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin):
@@ -803,12 +798,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashBalanceRegulation))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashClassification(TestERP5BankingMixin):
@@ -728,12 +723,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashClassification))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashExchange(TestERP5BankingMixin):
@@ -523,12 +518,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashExchange))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingInventory(TestERP5BankingMixin):
@@ -427,12 +422,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingInventory))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashMovement(TestERP5BankingMixin):
"""
@@ -676,12 +671,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashMovement))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionMixin):
"""
@@ -358,12 +353,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashMovementNewNotEmitted))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashSorting(TestERP5BankingMixin):
@@ -567,12 +562,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashSorting))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin):
@@ -470,12 +465,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashToCurrencyPurchase))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
@@ -434,12 +429,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCashToCurrencySale))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py [utf8] Mon Jan 18 11:32:38 2010
@@ -41,11 +41,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCheckDeposit(TestERP5BankingMixin):
"""
@@ -536,12 +531,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckDeposit))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py [utf8] Mon Jan 18 11:32:38 2010
@@ -40,11 +40,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCheckPaymentMixin(TestERP5BankingMixin):
"""
@@ -590,12 +585,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckPayment))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py [utf8] Mon Jan 18 11:32:38 2010
@@ -41,10 +41,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingCheckbookDeliveryMixin(TestERP5BankingMixin):
@@ -300,12 +296,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckbookDelivery))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixin):
"""
@@ -335,12 +330,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckbookMovement))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
-
class TestERP5BankingCheckbookReception(TestERP5BankingMixin):
"""
@@ -503,12 +498,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckbookReception))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py [utf8] Mon Jan 18 11:32:38 2010
@@ -40,10 +40,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingCheckbookUsualCashTransferMixin(
TestERP5BankingCheckbookVaultTransferMixin):
@@ -394,12 +390,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckbookUsualCashTransfer))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,10 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingCheckbookVaultTransferMixin(TestERP5BankingMixin):
@@ -391,12 +387,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCheckbookVaultTransfer))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingClassificationSurvey(TestERP5BankingMixin):
@@ -534,12 +529,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingClassificationSurvey))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterDate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterDate.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterDate.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterDate.py [utf8] Mon Jan 18 11:32:38 2010
@@ -42,10 +42,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingCounterDate(TestERP5BankingMixin):
RUN_ALL_TEST = 1 # we want to run all test
@@ -227,13 +223,3 @@
self.counter_date_2, 'open_action',
wf_id='counter_date_workflow')
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCounterDate))
- return suite
-
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingCounterRendering(TestERP5BankingMixin):
"""
@@ -524,12 +519,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingCounterRendering))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingDestructionSurvey(TestERP5BankingMixin):
"""
@@ -456,12 +451,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingDestructionSurvey))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingForeignCashReception(TestERP5BankingMixin):
@@ -379,12 +374,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingForeignCashReception))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin):
@@ -279,12 +274,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingInternalMoneyDeposit))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin):
@@ -281,12 +276,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingInternalMoneyPayment))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] Mon Jan 18 11:32:38 2010
@@ -40,11 +40,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin):
"""
@@ -1090,12 +1085,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMonetaryDestruction))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMonetaryReceptionMixin(TestERP5BankingMixin):
@@ -469,12 +464,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMonetaryIssue))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMonetaryRecall(TestERP5BankingMixin):
"""
@@ -587,12 +582,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMonetaryRecall))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMonetaryReception(TestERP5BankingMixin):
@@ -380,12 +375,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMonetaryReception))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMonetarySurvey(TestERP5BankingMixin):
"""
@@ -485,12 +480,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMonetarySurvey))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py [utf8] Mon Jan 18 11:32:38 2010
@@ -37,11 +37,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMoneyDepositMixin(TestERP5BankingMixin):
@@ -340,12 +335,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMoneyDeposit))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin):
"""
@@ -524,12 +519,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMoneyDepositRendering))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py [utf8] Mon Jan 18 11:32:38 2010
@@ -38,11 +38,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin):
"""
@@ -925,12 +920,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingMutilatedBanknote))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py [utf8] Mon Jan 18 11:32:38 2010
@@ -44,10 +44,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin,
TestERP5BankingCheckbookUsualCashTransferMixin,
@@ -347,12 +343,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingStopPayment))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py [utf8] Mon Jan 18 11:32:38 2010
@@ -42,10 +42,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTransferMixin,
TestERP5BankingTravelerCheckSaleMixin):
@@ -232,12 +228,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingTravelerCheckPurchase))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py [utf8] Mon Jan 18 11:32:38 2010
@@ -41,10 +41,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
class TestERP5BankingTravelerCheckSaleMixin(TestERP5BankingMixin):
@@ -311,12 +307,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingTravelerCheckSale))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingUsualCashRendering(TestERP5BankingMixin):
"""
@@ -589,12 +584,4 @@
sequence_list.addSequenceString(sequence_string)
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingUsualCashRendering))
- return suite
+
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin):
"""
@@ -524,12 +519,3 @@
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingUsualCashTransfer))
- return suite
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py?rev=31795&r1=31794&r2=31795&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py [utf8] Mon Jan 18 11:32:38 2010
@@ -39,11 +39,6 @@
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
# Define the level of log we want, here is all
os.environ['EVENT_LOG_SEVERITY'] = '-300'
-
-# Define how to launch the script if we don't use runUnitTest script
-if __name__ == '__main__':
- execfile(os.path.join(sys.path[0], 'framework.py'))
-
class TestERP5BankingVaultTransfer(TestERP5BankingMixin):
"""
@@ -799,12 +794,3 @@
sequence_list.addSequenceString(another_sequence_string)
# play the sequence
sequence_list.play(self)
-# define how we launch the unit test
-if __name__ == '__main__':
- framework()
-else:
- import unittest
- def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestERP5BankingVaultTransfer))
- return suite
More information about the Erp5-report
mailing list