def test_is_stop_word(): assert Parser.is_stop_word( TestParser.MockToken(stop_word_bool=True)) is True assert Parser.is_stop_word( TestParser.MockToken(stop_word_bool=False)) is False