Commit de645707 authored by Roque Porchetto's avatar Roque Porchetto

scalability_test: fixing parameter order

parent 1d4d0abd
...@@ -38,9 +38,10 @@ class WendelinERP5_scalability(): ...@@ -38,9 +38,10 @@ class WendelinERP5_scalability():
for metric_dict in metric_list: for metric_dict in metric_list:
if metric_dict["person_per_hour"] > output_dict["person_per_hour"]: if metric_dict["person_per_hour"] > output_dict["person_per_hour"]:
output_dict = metric_dict output_dict = metric_dict
return "Person: %s doc/hour; SaleOrder: %s doc/hour;" % (str(output_dict["person_per_hour"]), str(output_dict["sale_order_per_hour"])) return "Person: %s doc/hour; SaleOrder: %s doc/hour;" % (
str(output_dict["person_per_hour"]), str(output_dict["sale_order_per_hour"]))
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict, **kw): def getBootstrapScalabilityTestUrl(self, instance_information_dict, count=0, **kw):
bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'], bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'],
instance_information_dict['password'], instance_information_dict['password'],
instance_information_dict['zope-address']) instance_information_dict['zope-address'])
......
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