#NEWLINE# def test_render_uses_app_name_as_filename( self ) : #NEWLINE# #INDENT# export = Export ( ) #NEWLINE# export . get_template = MagicMock ( ) #NEWLINE# results = export . render ( [ ] , { #NEWLINE# #INDENT# 'app' : 'elephant' , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( results [ 0 ] . name == 'elephant.conf' )