def test_only_stopword_word_list(self): """clean_word_list should return [] on stopword list.""" self.assertEqual([], clean_word_list(LIST["STOP"]))
def test_valid_word_list(self): """clean_word_list should return list without stopwords.""" for inp, out in LIST["VALID"]: self.assertEqual(out, clean_word_list(inp))
def test_empty_word_list(self): """clean_word_list should return [] on input [].""" self.assertEqual([], clean_word_list([]))