get_rps_list for composite load should work now

This commit is contained in:
Alexey Lavrenuke (load testing) 2013-06-26 15:41:01 +04:00
parent f0f9bf8149
commit 5e0a531b12

View File

@ -111,7 +111,7 @@ class Composite(object):
return sum(step.__len__() for step in self.steps)
def get_rps_list(self):
return list(chain(step.get_rps_list() for step in self.steps))
return list(chain.from_iterable(step.get_rps_list() for step in self.steps))
class Stairway(Composite):