diff --git a/tests/functional/test_cli_task.py b/tests/functional/test_cli_task.py index 4d63b9488f..0343451ec3 100644 --- a/tests/functional/test_cli_task.py +++ b/tests/functional/test_cli_task.py @@ -397,7 +397,7 @@ class TaskTestCase(unittest.TestCase): for line in res.splitlines(): if "finished" in line: task_uuids.append(line.split(" ")[1][:-1]) - self.assertTrue(len(task_uuids)) + self.assertGreater(len(task_uuids), 0) self.assertIn(task_uuids[0], rally("task list --uuids-only --deployment MAIN"))