'Assert that at least :percentage: of the expected vulnerabilities were
found during the current scan.'

def assertMostExpectedVulnsFound(self, expected, percentage=0.85):

    len_exp_found = len(expected.intersection(self.tokenize_kb_vulns()))
    found_perc = (float(len_exp_found) / len(expected))
    self.assertGreater(found_perc, percentage)
