Commit 36ef0331 authored by Roque Porchetto's avatar Roque Porchetto

Adding a test suite for master.

parent 789e00d1
......@@ -9,10 +9,19 @@ BT5 = os.path.join(os.path.split(HERE)[0],'bt5')
class WendelinERP5(ERP5TypeTestSuite):
def getTestList(self):
component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components"
"/test\.[^.]+\.[^.]+\.([^.]+).py$")
return ['%s:%s' % (x.group(1), x.group(2)) \
for x in [component_re.match(y) for y in glob.glob(os.path.join(
BT5, '*', '*', '*', 'test.erp5.wendelin.test*.py'))]]
class MasterWendelinERP5(ERP5TypeTestSuite):
def getTestList(self):
component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components"
"/test\.[^.]+\.[^.]+\.([^.]+).py$")
return ['%s:%s' % (x.group(1), x.group(2)) \
for x in [component_re.match(y) for y in glob.glob(os.path.join(
BT5, '*', '*', '*', 'test.erp5.wendelin.test*.py'))]]
\ No newline at end of file
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