#NEWLINE# def test_parse_one_block( self ) : #NEWLINE# #INDENT# data = self . loader . _parse ( ONE_BLOCK ) #NEWLINE# self . assertEqual ( 1 , len ( data ) , data ) #NEWLINE# ( rules , children ) = data [ 0 ] #NEWLINE# self . assertEqual ( 2 , len ( rules ) , rules )