def METHOD_NAME(self):
    levels = [bandit.LOW, bandit.MEDIUM, bandit.HIGH]
    issues = [_get_issue_instance(bandit.HIGH, level) for level in levels]
    for level in levels:
        rank = constants.RANKING.index(level)
        for i in issues:
            test = constants.RANKING.index(i.confidence)
            result = i.filter(bandit.UNDEFINED, level)
            self.assertTrue((test >= rank) == result)