Commit 68f35c1f59f53845ea7d3fa48b3395cbe12e9cc5

Authored by Adabriand Furtado
1 parent b9cd4fec
Exists in master

Fix number_of_taskruns function

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -79,7 +79,7 @@ class Validador: @@ -79,7 +79,7 @@ class Validador:
79 return tasks[0] if len(tasks) > 0 else None 79 return tasks[0] if len(tasks) > 0 else None
80 80
81 def __find_taskruns(self, project_id, task_id): 81 def __find_taskruns(self, project_id, task_id):
82 - return pbclient.find_taskruns(project_id, id=task_id) 82 + return pbclient.find_taskruns(project_id, task_id=task_id)
83 83
84 def __number_of_taskruns(self, project_id, task_id): 84 def __number_of_taskruns(self, project_id, task_id):
85 taskruns = self.__find_taskruns(project_id, task_id) 85 taskruns = self.__find_taskruns(project_id, task_id)