#NEWLINE# def deploy_and_assert_default_config( self ) : #NEWLINE# #INDENT# output = self . run_prestoadmin ( 'configuration deploy' ) #NEWLINE# deploy_template = 'Deploying configuration on: %s\n' #NEWLINE# expected = '' #NEWLINE# for host in self . cluster . all_internal_hosts ( ) : #NEWLINE# #INDENT# expected += ( deploy_template % host ) #NEWLINE# #UNINDENT# for host in self . cluster . all_hosts ( ) : #NEWLINE# #INDENT# self . assert_has_default_config ( host ) #NEWLINE# #UNINDENT# self . assertEqualIgnoringOrder ( output , expected ) #NEWLINE# output = self . run_prestoadmin ( 'configuration deploy' ) #NEWLINE# deploy_template = 'Deploying configuration on: %s\n' #NEWLINE# for host in self . cluster . all_hosts ( ) : #NEWLINE# #INDENT# self . assert_has_default_config ( host ) #NEWLINE# #UNINDENT# self . assertEqualIgnoringOrder ( output , expected )