Commit eb734db2 authored by Nicolas Dumazet's avatar Nicolas Dumazet

login() is now directly available from ERP5TypeTestCase


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29735 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 568daae7
...@@ -59,7 +59,6 @@ class TestERP5BankingAccountingCancellation(TestERP5BankingMixin, ...@@ -59,7 +59,6 @@ class TestERP5BankingAccountingCancellation(TestERP5BankingMixin,
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
QUIET = 0 # we don't want the test to be quiet QUIET = 0 # we don't want the test to be quiet
login = PortalTestCase.login
def getAccountingCancellationModule(self): def getAccountingCancellationModule(self):
""" """
......
...@@ -41,7 +41,6 @@ class TestERP5BankingAccountingDate(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -41,7 +41,6 @@ class TestERP5BankingAccountingDate(TestERP5BankingMixin, ERP5TypeTestCase):
Unit test Accounting Date definition and utility script. Unit test Accounting Date definition and utility script.
""" """
login = PortalTestCase.login
def getTitle(self): def getTitle(self):
return "ERP5BankingAccountingDate" return "ERP5BankingAccountingDate"
......
...@@ -77,7 +77,6 @@ class TestERP5BankingAvailableInventory(TestERP5BankingCheckPaymentMixin, ...@@ -77,7 +77,6 @@ class TestERP5BankingAvailableInventory(TestERP5BankingCheckPaymentMixin,
payments by the same time (due to tag on counter) payments by the same time (due to tag on counter)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -52,7 +52,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -52,7 +52,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase):
This class is a unit test to check the module of Bank Account Inventory This class is a unit test to check the module of Bank Account Inventory
""" """
login = PortalTestCase.login
RUN_ALL_TEST = 1 RUN_ALL_TEST = 1
QUIET = 0 QUIET = 0
......
...@@ -67,7 +67,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -67,7 +67,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -48,7 +48,6 @@ if __name__ == '__main__': ...@@ -48,7 +48,6 @@ if __name__ == '__main__':
class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase):
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -68,7 +68,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -68,7 +68,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -57,7 +57,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -57,7 +57,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -91,7 +91,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -91,7 +91,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -53,7 +53,6 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM ...@@ -53,7 +53,6 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM
This class is a unit test to check the module of Cash Movement New Not Emitted This class is a unit test to check the module of Cash Movement New Not Emitted
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -48,7 +48,6 @@ if __name__ == '__main__': ...@@ -48,7 +48,6 @@ if __name__ == '__main__':
class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase):
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -68,7 +68,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa ...@@ -68,7 +68,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -67,7 +67,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -67,7 +67,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -54,7 +54,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -54,7 +54,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
Unit test class for the check deposit module Unit test class for the check deposit module
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -57,7 +57,6 @@ class TestERP5BankingCheckPaymentMixin: ...@@ -57,7 +57,6 @@ class TestERP5BankingCheckPaymentMixin:
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
QUIET = 0 # we don't want the test to be quiet QUIET = 0 # we don't want the test to be quiet
login = PortalTestCase.login
def getTitle(self): def getTitle(self):
""" """
......
...@@ -145,7 +145,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin, ...@@ -145,7 +145,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -58,7 +58,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi ...@@ -58,7 +58,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -56,7 +56,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -56,7 +56,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -118,7 +118,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas ...@@ -118,7 +118,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -157,7 +157,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe ...@@ -157,7 +157,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -48,7 +48,6 @@ if __name__ == '__main__': ...@@ -48,7 +48,6 @@ if __name__ == '__main__':
class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase):
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -51,7 +51,6 @@ if __name__ == '__main__': ...@@ -51,7 +51,6 @@ if __name__ == '__main__':
class TestERP5BankingCounterDate(TestERP5BankingMixin, class TestERP5BankingCounterDate(TestERP5BankingMixin,
ERP5TypeTestCase): ERP5TypeTestCase):
login = PortalTestCase.login
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
QUIET = 0 # we don't want the test to be quiet QUIET = 0 # we don't want the test to be quiet
......
...@@ -80,7 +80,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -80,7 +80,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase):
- check that the destination has been credited correctly (current == future) - check that the destination has been credited correctly (current == future)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -53,7 +53,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -53,7 +53,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -56,7 +56,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -56,7 +56,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -49,7 +49,6 @@ if __name__ == '__main__': ...@@ -49,7 +49,6 @@ if __name__ == '__main__':
class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -49,7 +49,6 @@ if __name__ == '__main__': ...@@ -49,7 +49,6 @@ if __name__ == '__main__':
class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase):
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -81,7 +81,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase) ...@@ -81,7 +81,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase)
- check that the destination has been credited correctly (current == future) - check that the destination has been credited correctly (current == future)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -118,7 +118,6 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin, TestER ...@@ -118,7 +118,6 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin, TestER
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -80,7 +80,6 @@ class TestERP5BankingMonetaryRecall(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -80,7 +80,6 @@ class TestERP5BankingMonetaryRecall(TestERP5BankingMixin, ERP5TypeTestCase):
- check that the destination has been credited correctly (current == future) - check that the destination has been credited correctly (current == future)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -56,7 +56,6 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -56,7 +56,6 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -50,7 +50,6 @@ class TestERP5BankingMonetarySurvey(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -50,7 +50,6 @@ class TestERP5BankingMonetarySurvey(TestERP5BankingMixin, ERP5TypeTestCase):
This class is a unit test to check the module of Monetary Survey This class is a unit test to check the module of Monetary Survey
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -49,7 +49,6 @@ if __name__ == '__main__': ...@@ -49,7 +49,6 @@ if __name__ == '__main__':
class TestERP5BankingMoneyDepositMixin: class TestERP5BankingMoneyDepositMixin:
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -80,7 +80,6 @@ class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -80,7 +80,6 @@ class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin, ERP5TypeTestCas
- check that the destination has been credited correctly (current == future) - check that the destination has been credited correctly (current == future)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -49,7 +49,6 @@ if __name__ == '__main__': ...@@ -49,7 +49,6 @@ if __name__ == '__main__':
class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -60,7 +60,6 @@ class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin, ...@@ -60,7 +60,6 @@ class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin,
This class is a unit test to check the module of Stop Payment This class is a unit test to check the module of Stop Payment
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -60,7 +60,6 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran ...@@ -60,7 +60,6 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -218,7 +218,6 @@ class TestERP5BankingTravelerCheckSale(TestERP5BankingCheckbookUsualCashTransfer ...@@ -218,7 +218,6 @@ class TestERP5BankingTravelerCheckSale(TestERP5BankingCheckbookUsualCashTransfer
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -92,7 +92,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -92,7 +92,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -80,7 +80,6 @@ class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -80,7 +80,6 @@ class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin, ERP5TypeTestCase):
- check that the destination has been credited correctly (current == future) - check that the destination has been credited correctly (current == future)
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
...@@ -92,7 +92,6 @@ class TestERP5BankingVaultTransfer(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -92,7 +92,6 @@ class TestERP5BankingVaultTransfer(TestERP5BankingMixin, ERP5TypeTestCase):
""" """
login = PortalTestCase.login
# pseudo constants # pseudo constants
RUN_ALL_TEST = 1 # we want to run all test RUN_ALL_TEST = 1 # we want to run all test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment