#NEWLINE# def test_render_args( self ) : #NEWLINE# #INDENT# with distribution ( ) as dist : #NEWLINE# #INDENT# with self . android_binary ( ) as android_binary : #NEWLINE# #INDENT# self . set_options ( sdk_path = dist ) #NEWLINE# task = self . create_task ( self . context ( ) ) #NEWLINE# rendered_args = task . _render_args ( android_binary , 'res' , [ 'classes.dex' ] ) #NEWLINE# self . assertEquals ( os . path . basename ( task [ 0 ] ) , 'aapt' ) #NEWLINE# self . assertEquals ( rendered_args [ ( - 1 ) ] , 'classes.dex' )