def test_fixed_on_one_branch_blocking(self): bug = u.make_bug({'v3-status': 'verified'}) fixed_on = subject.fixed_on_branches(bug) self.assertEqual(['v3'], fixed_on)
def test_fixed_on_branches_not_enabled(self): bug = u.make_bug({'v4-status': 'fixed'}) fixed_on = subject.fixed_on_branches(bug) self.assertEqual([], fixed_on)
def test_fixed_on_no_branches_blocking(self): bug = u.make_bug({'blocking': 'v2'}) fixed_on = subject.fixed_on_branches(bug) self.assertEqual([], fixed_on)