#NEWLINE# def test_parse_yaml( self ) : #NEWLINE# #INDENT# pod = testing . create_test_pod ( ) #NEWLINE# content = pod . read_file ( '/data/constructors.yaml' ) #NEWLINE# result = utils . parse_yaml ( content , pod = pod ) #NEWLINE# doc = pod . get_doc ( '/content/pages/home.yaml' ) #NEWLINE# self . assertEqual ( doc , result [ 'doc' ] ) #NEWLINE# expected_docs = [ pod . get_doc ( '/content/pages/home.yaml' ) , pod . get_doc ( '/content/pages/about.yaml' ) , pod . get_doc ( '/content/pages/home.yaml' ) ] #NEWLINE# self . assertEqual ( expected_docs , result [ 'docs' ] )