Commit aa3d8cc5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio_zh_ui_test&configurator: This bt5 depends on slapos_jio_ui_test

  Extend getBusinessTemplateList to install the dependencies
  slapos_configurator: slapos_jio_zh_ui_test also goes on keep bt5 list
parent 996d32fd
...@@ -11,6 +11,7 @@ bt5_installation_list = bt5_update_catalog_list + \ ...@@ -11,6 +11,7 @@ bt5_installation_list = bt5_update_catalog_list + \
keep_bt5_id_list = ['erp5_ui_test', keep_bt5_id_list = ['erp5_ui_test',
'erp5_ui_test_core', 'erp5_ui_test_core',
'slapos_jio_ui_test', 'slapos_jio_ui_test',
'slapos_jio_zh_ui_test',
'slapos_category', 'slapos_category',
# XXX erp5_accounting_l10n_fr should be removed when bug is fixed # XXX erp5_accounting_l10n_fr should be removed when bug is fixed
'erp5_accounting_l10n_fr', 'erp5_accounting_l10n_fr',
......
...@@ -37,6 +37,14 @@ class TestSlapOSUIZHHalStyle(SlapOSTestCaseMixin, ERP5TypeFunctionalTestCase): ...@@ -37,6 +37,14 @@ class TestSlapOSUIZHHalStyle(SlapOSTestCaseMixin, ERP5TypeFunctionalTestCase):
ERP5TypeFunctionalTestCase.afterSetUp(self) ERP5TypeFunctionalTestCase.afterSetUp(self)
SlapOSTestCaseMixin.afterSetUp(self) SlapOSTestCaseMixin.afterSetUp(self)
def getBusinessTemplateList(self):
bt5_list = SlapOSTestCaseMixin.getBusinessTemplateList(self)
bt5_list.extend(
'slapos_jio_ui_test',
'slapos_jio_zh_ui_test'
)
return bt5_list
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSlapOSUIZHHalStyle)) suite.addTest(unittest.makeSuite(TestSlapOSUIZHHalStyle))
......
erp5_ui_test_core erp5_ui_test_core
slapos_jio_ui_test
\ No newline at end of file
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