Commit 75edcb11 authored by Łukasz Nowak's avatar Łukasz Nowak

Activate testing of SlapOS core refactored code.

parent 65cb6a3f
...@@ -413,3 +413,16 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -413,3 +413,16 @@ class testVifibMixin(ERP5TypeTestCase):
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
self.checkDivergency() self.checkDivergency()
class testVifibMixinSlaposCore(testVifibMixin):
def getBusinessTemplateList(self):
result = super(testVifibMixinSlaposCore, self
).getBusinessTemplateList()
result.extended([
'vifib_slapos_core',
'vifib_slapos_rest_api_v1',
'vifib_slapos_core_test',
'vifib_slapos_rest_api_v1_test'
])
return result
...@@ -8,9 +8,10 @@ class SLAPOS_MASTER(SavedTestSuite, ProjectTestSuite): ...@@ -8,9 +8,10 @@ class SLAPOS_MASTER(SavedTestSuite, ProjectTestSuite):
'vifib_slapos_rest_api_v1_test', 'vifib_slapos_rest_api_v1_test',
] ]
_product_list = ['Vifib'] _product_list = ['Vifib']
_saved_test_id = 'Products.Vifib.tests.VifibMixin' _saved_test_id = 'Products.Vifib.tests.VifibMixin.testVifibMixinSlaposCore'
class VIFIB(SLAPOS_MASTER): class VIFIB(SLAPOS_MASTER):
_saved_test_id = 'Products.Vifib.tests.VifibMixin.testVifibMixin'
_bt_list = SLAPOS_MASTER._bt_list + [ _bt_list = SLAPOS_MASTER._bt_list + [
'vifib_base', 'vifib_base',
'vifib_core', 'vifib_core',
......
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