Commit 71d55f86 authored by Julien Muchembled's avatar Julien Muchembled

New ERP5 test suite to only run functional tests

parent 92556fec
...@@ -167,3 +167,9 @@ class ERP5_XHTML_Only(_ERP5): ...@@ -167,3 +167,9 @@ class ERP5_XHTML_Only(_ERP5):
def _getAllTestList(self): def _getAllTestList(self):
path = sys.path[0] path = sys.path[0]
return ['%s/product/ERP5/tests/testXHTML.py' % path] 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]
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