Commit 22549246 authored by Sebastien Robin's avatar Sebastien Robin

added erp5_base bt


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5935 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94c7ecb9
...@@ -87,7 +87,7 @@ class TestInventory(TestOrderMixin,ERP5TypeTestCase): ...@@ -87,7 +87,7 @@ class TestInventory(TestOrderMixin,ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
"""Business Templates required for this test. """Business Templates required for this test.
""" """
return ('erp5_pdm','erp5_trade', 'erp5_apparel') return ('erp5_base','erp5_pdm','erp5_trade', 'erp5_apparel')
def afterSetUp(self, quiet=1, run=run_all_test): def afterSetUp(self, quiet=1, run=run_all_test):
self.login() self.login()
......
...@@ -70,7 +70,7 @@ class TestResource(ERP5TypeTestCase): ...@@ -70,7 +70,7 @@ class TestResource(ERP5TypeTestCase):
Install needed business template Install needed business template
""" """
# Trade is needeed for pricing # Trade is needeed for pricing
return ('erp5_pdm','erp5_trade','erp5_apparel') return ('erp5_base','erp5_pdm','erp5_trade','erp5_apparel')
def getTitle(self): def getTitle(self):
return "Resource" return "Resource"
......
...@@ -112,8 +112,7 @@ class TestERP5SyncML(ERP5TypeTestCase): ...@@ -112,8 +112,7 @@ class TestERP5SyncML(ERP5TypeTestCase):
/person_client1 : empty /person_client1 : empty
/person_client2 : empty /person_client2 : empty
""" """
#return ('sync_crm',) return ('erp5_base',)
return ('erp5_base')
def getSynchronizationTool(self): def getSynchronizationTool(self):
return getattr(self.getPortal(), 'portal_synchronizations', None) return getattr(self.getPortal(), 'portal_synchronizations', None)
......
...@@ -50,7 +50,7 @@ class TestConstraint(ERP5TypeTestCase): ...@@ -50,7 +50,7 @@ class TestConstraint(ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
""" """
return () return ('erp5_base',)
def login(self, quiet=0, run=run_all_test): def login(self, quiet=0, run=run_all_test):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
......
...@@ -26,7 +26,7 @@ class TestERP5Type(ERP5TypeTestCase): ...@@ -26,7 +26,7 @@ class TestERP5Type(ERP5TypeTestCase):
""" """
Return the list of business templates. Return the list of business templates.
""" """
return () return ('erp5_base',)
def afterSetUp(self): def afterSetUp(self):
self.login() self.login()
......
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