Commit a0f4d646 authored by Roque's avatar Roque

scalability: getTestList method returns unit tests

parent efe1d9d0
...@@ -9,10 +9,14 @@ PERSON_KEY = "person_per_hour" ...@@ -9,10 +9,14 @@ PERSON_KEY = "person_per_hour"
class WendelinERP5_scalability(): class WendelinERP5_scalability():
def getTestList(self): def getTestList(self):
return ['createPerson'] 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.test*.py'))]]
def getTestPath(self): def getTestPath(self):
return 'example/' return '/'
def getUsersFilePath(self): def getUsersFilePath(self):
return 'example/scalabilityUsers' return 'example/scalabilityUsers'
......
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