Пример #1
0
 def afterSetUp(self):
     """
 Make sure to not use special apparel setting from TestOrderMixin
 """
     self.createCategories()
     self.validateRules()
     InventoryAPITestCase.afterSetUp(self)
     self.node_1 = self.portal.organisation_module.newContent(
         title="Node 1")
     self.node_2 = self.portal.organisation_module.newContent(
         title="Node 2")
     self.pinDateTime(None)
 def getBusinessTemplateList(self):
     """
     Same list as for Inventory API and add erp5_administration
 """
     return InventoryAPITestCase.getBusinessTemplateList(self) + (
         "erp5_full_text_mroonga_catalog",
         "erp5_administration",
     )
Пример #3
0
 def getBusinessTemplateList(self):
   """
       Same list as for Inventory API and add erp5_administration
   """
   return InventoryAPITestCase.getBusinessTemplateList(self) + ('erp5_administration',)
Пример #4
0
 def getBusinessTemplateList(self):
     """
     Same list as for Inventory API and add erp5_administration
 """
     return InventoryAPITestCase.getBusinessTemplateList(self) + (
         'erp5_administration', )
 def getBusinessTemplateList(self):
     """
     Same list as for Inventory API and add erp5_administration
 """
     return InventoryAPITestCase.getBusinessTemplateList(self) + (
         'erp5_full_text_mroonga_catalog', 'erp5_administration')
Пример #6
0
 def afterSetUp(self):
     self.login()
     InventoryAPITestCase.afterSetUp(self)
Пример #7
0
 def getBusinessTemplateList(self):
     return InventoryAPITestCase.getBusinessTemplateList(self) + ("erp5_archive", "erp5_full_text_myisam_catalog")
Пример #8
0
 def getBusinessTemplateList(self):
   return InventoryAPITestCase.getBusinessTemplateList(self) + (
     'erp5_archive',
     'erp5_full_text_mroonga_catalog',
   )
Пример #9
0
 def afterSetUp(self):
     self.login()
     InventoryAPITestCase.afterSetUp(self)
Пример #10
0
 def getBusinessTemplateList(self):
     return InventoryAPITestCase.getBusinessTemplateList(self) + (
         'erp5_archive',
         'erp5_full_text_mroonga_catalog',
     )