def METHOD_NAME(self):
    keyword_proc = KeywordProcessor()
    keyword_proc.add_keyword("first keyword")
    keyword_proc.add_keyword("second keyword")
    sentence = "starts with a first kyword then add a secand keyword"
    extracted_keywords = [
        ("first keyword", 14, 26),
        ("second keyword", 38, 52),
    ]
    self.assertEqual(
        keyword_proc.extract_keywords(sentence, span_info=True, max_cost=1),
        extracted_keywords,
    )