Commit 459e0ee7 authored by Łukasz Nowak's avatar Łukasz Nowak

[taskdistribution] Fix tool name (missed renames)

parent e1cec59e
...@@ -432,7 +432,7 @@ class ERP5ProjectUnitTestDistributor(XMLObject): ...@@ -432,7 +432,7 @@ class ERP5ProjectUnitTestDistributor(XMLObject):
""" """
LOG('ERP5ProjectUnitTestDistributor.startUnitTest', 0, test_result_path) LOG('ERP5ProjectUnitTestDistributor.startUnitTest', 0, test_result_path)
portal = self.getPortalObject() portal = self.getPortalObject()
return portal.portal_task_distribution_tool.startUnitTest(test_result_path,exclude_list) return portal.portal_task_distribution.startUnitTest(test_result_path,exclude_list)
security.declarePublic("stopUnitTest") security.declarePublic("stopUnitTest")
def stopUnitTest(self,test_path,status_dict): def stopUnitTest(self,test_path,status_dict):
...@@ -443,7 +443,7 @@ class ERP5ProjectUnitTestDistributor(XMLObject): ...@@ -443,7 +443,7 @@ class ERP5ProjectUnitTestDistributor(XMLObject):
portal = self.getPortalObject() portal = self.getPortalObject()
test_result = portal.unrestrictedTraverse(test_path) test_result = portal.unrestrictedTraverse(test_path)
test_suite_title = test_result.getTitle() test_suite_title = test_result.getTitle()
return portal.portal_task_distribution_tool.stopUnitTest(self,test_path,status_dict) return portal.portal_task_distribution.stopUnitTest(self,test_path,status_dict)
security.declarePublic("generateConfiguration") security.declarePublic("generateConfiguration")
def generateConfiguration(self, test_suite_title, batch_mode=0): def generateConfiguration(self, test_suite_title, batch_mode=0):
......
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