if run.result_passed() == run.result_total():
                run.status = 0  # passed
                run.save()