def test_parse_object_direction(): word_list = [('stop', 'the'), ('direction', 'left')] assert_equal(sentence.parse_object(word_list), ('direction', 'left'))
def test_parse_object_noun(): word_list = [('stop', 'the'), ('noun', 'princess')] assert_equal(sentence.parse_object(word_list), ('noun', 'princess'))