#NEWLINE# def test_granular_deploy_if_not_enabled( self ) : #NEWLINE# #INDENT# self . env . disable_task_deploy ( self . cluster ) #NEWLINE# message = self . get_deploy_message ( ) #NEWLINE# self . assertEqual ( 'granular_deploy' , message [ 'method' ] ) #NEWLINE# self . assertItemsEqual ( [ 'task_uuid' , 'deployment_info' , 'pre_deployment' , 'post_deployment' ] , message [ 'args' ] )