'All-success trigger rule success'

def test_all_success_tr_success(self):

    ti = self._get_task_instance(TriggerRule.ALL_SUCCESS, upstream_task_ids=['FakeTaskID'])
    dep_statuses = tuple(TriggerRuleDep()._evaluate_trigger_rule(ti=ti, successes=1, skipped=0, failed=0, upstream_failed=0, done=1, flag_upstream_failed=False, session='Fake    Session'))
    self.assertEqual(len(dep_statuses), 0)
