#NEWLINE# def test_parse_section_default( self ) : #NEWLINE# #INDENT# lines = [ [ 'FOO  blah blah' , '     blah' ] , [ 'FOO=blah' , '    blah' ] , [ 'FOO' ] ] #NEWLINE# kwargs = [ { #NEWLINE# #INDENT# 'join_delimitor' : '=' , #NEWLINE# 'return_label' : False , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'label_delimitor' : '=' , #NEWLINE# 'join_delimitor' : '' , #NEWLINE# 'return_label' : True , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'label_delimitor' : '=' , #NEWLINE# 'join_delimitor' : '=' , #NEWLINE# 'return_label' : True , #NEWLINE# #UNINDENT# } ] #NEWLINE# expects = [ 'blah blah=blah' , ( 'FOO' , 'blahblah' ) , ( 'FOO' , '' ) ] #NEWLINE# for ( i , j , k ) in zip ( lines , kwargs , expects ) : #NEWLINE# #INDENT# self . assertEqual ( k , _parse_section_default ( expects , ** j ) )