We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56d872 commit 295a5d6Copy full SHA for 295a5d6
tests/test_TasksApi.py
@@ -369,7 +369,7 @@ def test_run_logs(self):
369
runs = self.tasks_api.get_runs(task_id=task.id)
370
self.assertGreater(len(runs), 0)
371
372
- logs = self.tasks_api.get_run_logs(run_id=runs[0].id, task_id=task.id)
+ logs = self.tasks_api.get_run_logs(run_id=runs[-1].id, task_id=task.id)
373
self.assertGreater(len(logs), 0)
374
375
successes = list(filter(lambda log: log.message.endswith("Completed(success)"), logs))
0 commit comments