Commit 804896d8 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_test_result: fix bug when getting test_result in ERP5ScalabilityDistributor

parent 725677fc
......@@ -198,7 +198,8 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
getRunningTestCase : return informations about the running test case,
if no running test_case, return None
"""
test_result = self.getTestResult(test_result_path)
portal = self.getPortalObject()
test_result = portal.restrictedTraverse(test_result_path)
test_result_lines = test_result.objectValues(portal_type="Test Result Line",
sort_on='int_index')
count = 0
......
277
\ No newline at end of file
278
\ No newline at end of file
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