Commit 3dff26c7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py3: disable tests that are not compatible with Python 3.

parent 45735727
......@@ -46,6 +46,13 @@ class _ERP5(ERP5TypeTestSuite):
component_re_match.group(2))
else:
test_case = test_path.split(os.sep)[-1][:-3] # remove .py
if sys.version_info[0] > 2:
# disable tests that are not compatible with Python 3.
if test_case in (
'erp5_workflow_test:testWorkflowAndDCWorkflow', # using legacy workflow
'testUpgradeInstanceWithOldDataFs', # using legacy workflow
):
continue
product = test_path.split(os.sep)[-3]
# don't test 3rd party products
if product in ('PortalTransforms', 'MailTemplates', 'Zelenium'):
......
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