Commit cdbfe4b0 authored by Aurel's avatar Aurel

update bt5 list


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37757 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75b9b4a0
...@@ -3067,7 +3067,8 @@ class TestAccountingWithSequences(ERP5TypeTestCase): ...@@ -3067,7 +3067,8 @@ class TestAccountingWithSequences(ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
"""Returns list of BT to be installed.""" """Returns list of BT to be installed."""
return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting', ) return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
'erp5_simulation', 'erp5_simulation_test')
# XXX # XXX
def playSequence(self, sequence_string, quiet=1) : def playSequence(self, sequence_string, quiet=1) :
......
...@@ -95,7 +95,7 @@ class TestAccountingRulesMixin: ...@@ -95,7 +95,7 @@ class TestAccountingRulesMixin:
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" Return the list of business templates. """ """ Return the list of business templates. """
return ('erp5_base','erp5_pdm', 'erp5_trade', 'erp5_accounting', return ('erp5_base','erp5_pdm', 'erp5_trade', 'erp5_accounting',
'erp5_invoicing', 'erp5_simplified_invoicing', 'erp5_simulation') 'erp5_invoicing', 'erp5_simplified_invoicing', 'erp5_simulation', 'erp5_simulation_test')
def getAccountModule(self): def getAccountModule(self):
return getattr(self.getPortal(), 'account', return getattr(self.getPortal(), 'account',
......
...@@ -129,7 +129,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): ...@@ -129,7 +129,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting', return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
'erp5_invoicing', 'erp5_advanced_invoicing', 'erp5_apparel', 'erp5_invoicing', 'erp5_advanced_invoicing', 'erp5_apparel',
'erp5_project') 'erp5_project', 'erp5_simulation', 'erp5_simulation_test')
def stepStartRelatedInvoice(self, sequence=None, sequence_list=None, **kw): def stepStartRelatedInvoice(self, sequence=None, sequence_list=None, **kw):
packing_list = sequence.get('packing_list') packing_list = sequence.get('packing_list')
......
...@@ -43,7 +43,7 @@ from Products.ERP5Type.Document.BusinessTemplate import getChainByType ...@@ -43,7 +43,7 @@ from Products.ERP5Type.Document.BusinessTemplate import getChainByType
class TestERP5SimulationMixin(TestInvoiceMixin): class TestERP5SimulationMixin(TestInvoiceMixin):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return list(TestInvoiceMixin.getBusinessTemplateList(self)) + \ return list(TestInvoiceMixin.getBusinessTemplateList(self)) + \
['erp5_administration', 'erp5_simulation',] ['erp5_administration', 'erp5_simulation', 'erp5_simulation_test']
def afterSetUp(self, quiet=1, run=1): def afterSetUp(self, quiet=1, run=1):
TestInvoiceMixin.afterSetUp(self) TestInvoiceMixin.afterSetUp(self)
......
...@@ -83,7 +83,8 @@ class TestInvoiceMixin(TestPackingListMixin, ...@@ -83,7 +83,8 @@ class TestInvoiceMixin(TestPackingListMixin,
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting', return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
'erp5_invoicing', 'erp5_simplified_invoicing', 'erp5_apparel', 'erp5_invoicing', 'erp5_simplified_invoicing', 'erp5_apparel',
'erp5_project', 'erp5_simulation', 'erp5_simulation_test', 'erp5_administration') 'erp5_project', 'erp5_simulation', 'erp5_simulation_test',
'erp5_administration')
@UnrestrictedMethod @UnrestrictedMethod
def createCategories(self): def createCategories(self):
......
...@@ -72,7 +72,8 @@ class TestOrderMixin: ...@@ -72,7 +72,8 @@ class TestOrderMixin:
""" """
""" """
return ('erp5_base','erp5_pdm', 'erp5_trade', 'erp5_apparel', return ('erp5_base','erp5_pdm', 'erp5_trade', 'erp5_apparel',
'erp5_project', 'erp5_administration') 'erp5_project', 'erp5_simulation', 'erp5_simulation_test',
'erp5_administration')
def login(self, quiet=0, run=1): def login(self, quiet=0, run=1):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
......
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