'One-success trigger rule failure'

def test_one_success_tr_failure(self):

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