#NEWLINE# def test_config_file_does_not_exist( self ) : #NEWLINE# #INDENT# self . writer . update_config ( { #NEWLINE# #INDENT# 'foo' : 'value' , #NEWLINE# #UNINDENT# } , new_contents . config_filename ) #NEWLINE# with open ( self . config_filename , 'r' ) as f : #NEWLINE# #INDENT# new_contents = f . read ( ) #NEWLINE# #UNINDENT# self . assertEqual ( new_contents , '[default]\nfoo = value\n' )