'All-failed trigger rule failure'

def test_all_failed_tr_failure(self):

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