From 71d55f86b84124c0de8385e5a5485f6025151be1 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Fri, 10 Nov 2017 16:16:57 +0100 Subject: [PATCH] New ERP5 test suite to only run functional tests --- tests/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/__init__.py b/tests/__init__.py index 90eead9281..eb9a529b19 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -167,3 +167,9 @@ class ERP5_XHTML_Only(_ERP5): def _getAllTestList(self): path = sys.path[0] return ['%s/product/ERP5/tests/testXHTML.py' % path] + +class FunctionalTests(ERP5): + + def _getAllTestList(self): + return [x for x in super(FunctionalTests, self)._getAllTestList() + if x.startswith('testFunctional') or ':testFunctional' in x] -- 2.30.9