Commit 1504e159 authored by Roque Porchetto's avatar Roque Porchetto

Fix for automated tests

parent c26c694f
...@@ -12,7 +12,7 @@ class WendelinERP5(ERP5TypeTestSuite): ...@@ -12,7 +12,7 @@ class WendelinERP5(ERP5TypeTestSuite):
def getTestList(self): def getTestList(self):
component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components" component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components"
"/test\.[^.]+\.([^.]+).py$") "/test\.[^.]+\.[^.]+\.([^.]+).py$")
return ['%s:%s' % (x.group(1), x.group(2)) \ return ['%s:%s' % (x.group(1), x.group(2)) \
for x in [component_re.match(y) for y in glob.glob(os.path.join( for x in [component_re.match(y) for y in glob.glob(os.path.join(
BT5, '*', '*', '*', 'test.erp5.wendelin.test*.py'))]] BT5, '*', '*', '*', 'test.erp5.wendelin.test*.py'))]]
\ 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