Commit 6847ecb8 authored by Roque Porchetto's avatar Roque Porchetto

scalability_test: fix wrong parameter name

parent 362974ac
...@@ -21,20 +21,20 @@ class WendelinERP5_scalability(): ...@@ -21,20 +21,20 @@ class WendelinERP5_scalability():
def getTestRepetition(self, test_number): def getTestRepetition(self, test_number):
return 3 return 3
def getScalabilityTestUrl(self, instance_information): def getScalabilityTestUrl(self, instance_information_dict):
erp5_address = instance_information["zope-address"] erp5_address = instance_information_dict["zope-address"]
return "http://%s/erp5" % erp5_address return "http://%s/erp5" % erp5_address
def getScalabilityTestUser(self, instance_information): def getScalabilityTestUser(self, instance_information_dict):
return instance_information["user"] return instance_information_dict["user"]
def getScalabilityTestPassword(self, instance_information): def getScalabilityTestPassword(self, instance_information_dict):
return instance_information["password"] return instance_information_dict["password"]
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict=None, **kw): def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict_dict=None, **kw):
bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information['user'], bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'],
instance_information['password'], instance_information_dict['password'],
instance_information['zope-address']) instance_information_dict['zope-address'])
bootstrap_url += "/ERP5Site_bootstrapScalabilityTest" bootstrap_url += "/ERP5Site_bootstrapScalabilityTest"
boostrap_url += "?user_quantity=%i" % self.getUserQuantity(count) boostrap_url += "?user_quantity=%i" % self.getUserQuantity(count)
return boostrap_url return boostrap_url
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