Commit 16af4ed0 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Run more test zuite

run_only option does not seem to support regular expression or comma separated list.
parent 5894edba
...@@ -30,18 +30,44 @@ import unittest ...@@ -30,18 +30,44 @@ import unittest
from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctionalTestCase from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctionalTestCase
class TestZeleniumCore(ERP5TypeFunctionalTestCase): renderjs_ui_bt5_list = (
'erp5_web_renderjs_ui',
'erp5_web_renderjs_ui_test',
'erp5_ui_test_core',
)
class TestRenderJSUICore(ERP5TypeFunctionalTestCase):
foreground = 0 foreground = 0
run_only = "renderjs_ui_zuite" run_only = "renderjs_ui_zuite"
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ( return renderjs_ui_bt5_list
'erp5_web_renderjs_ui',
'erp5_web_renderjs_ui_test', class TestRenderJSUIPageTemplate(ERP5TypeFunctionalTestCase):
'erp5_ui_test_core', foreground = 0
) run_only = "renderjs_ui_page_templates_zuite"
def getBusinessTemplateList(self):
return renderjs_ui_bt5_list
class TestRenderJSUIPage(ERP5TypeFunctionalTestCase):
foreground = 0
run_only = "renderjs_ui_page_zuite"
def getBusinessTemplateList(self):
return renderjs_ui_bt5_list
class TestRenderJSUIRouter(ERP5TypeFunctionalTestCase):
foreground = 0
run_only = "renderjs_ui_router_zuite"
def getBusinessTemplateList(self):
return renderjs_ui_bt5_list
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestZeleniumCore)) suite.addTest(unittest.makeSuite(TestRenderJSUICore))
suite.addTest(unittest.makeSuite(TestRenderJSUIPageTemplate))
suite.addTest(unittest.makeSuite(TestRenderJSUIPage))
suite.addTest(unittest.makeSuite(TestRenderJSUIRouter))
return suite return suite
\ 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