Commit bc28ba4c authored by Boxiang Sun's avatar Boxiang Sun

Try to enable erp5-doc test

parent a5db87a1
Pipeline #15787 failed with stage
in 0 seconds
......@@ -35,9 +35,7 @@ class _ERP5(ERP5TypeTestSuite):
component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components"
"/test\.[^.]+\.([^.]+).py$")
for test_path in (
glob('%s/product/*/tests/test*.py' % path) +
glob('%s/bt5/*/TestTemplateItem/test*.py' % path) +
glob('%s/bt5/*/TestTemplateItem/portal_components/test.*.test*.py' % path)):
glob('%s/../erp5-doc/bt5/*/TestTemplateItem/portal_components/test.*.test*.py' % path)):
component_re_match = component_re.match(test_path)
if component_re_match is not None:
test_case = "%s:%s" % (component_re_match.group(1),
......@@ -235,4 +233,4 @@ class RJS_Only(_ERP5):
"erp5_travel_expense_ui_test",
"erp5_gadget_interface_validator_ui_test",
"erp5_hal_json_style"]
return [test for test in self._getAllTestList() if any(test.find(bt)>-1 for bt in rjs_officejs_bt_list)]
\ No newline at end of file
return [test for test in self._getAllTestList() if any(test.find(bt)>-1 for bt in rjs_officejs_bt_list)]
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