#NEWLINE# @ fake_tasks ( ) #NEWLINE# def test_deploy_single_controller( self ) : #NEWLINE# #INDENT# self . create_env ( nodes_kwargs = [ { #NEWLINE# #INDENT# 'roles' : [ 'controller' ] , #NEWLINE# 'pending_addition' : True , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# supertask = self . env . launch_deployment ( ) #NEWLINE# self . assertEqual ( supertask . name , 'deploy' ) #NEWLINE# self . assertEqual ( supertask . status , 'ready' )