Commit 6b8fce82 authored by Rafael Monnerat's avatar Rafael Monnerat

Add backward compatibility on CloudPerformanceUnitTestDistributor.generateConfiguration

  The orginal method fail to check test_suite_title
parent 2b2db5cb
......@@ -82,3 +82,10 @@ class CloudPerformanceUnitTestDistributor(ERP5ProjectUnitTestDistributor):
for config in config_list:
config["test_suite_title"] = config["test_suite_title"] + "-%s" % title
return json.dumps(config_list)
security.declarePublic("generateConfiguration")
def generateConfiguration(self, test_suite_title, batch_mode=0):
generated_configuration = {"configuration_list": [{}]}
if batch_mode:
return generated_configuration
return json.dumps(generated_configuration)
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