#NEWLINE# def test_that_when_updating_a_domain_succeeds_the_update_domain_method_returns_true( self ) : #NEWLINE# #INDENT# '\n        tests True domain updated.\n        ' #NEWLINE# self . conn . update_elasticsearch_domain_config . return_value = { #NEWLINE# #INDENT# 'DomainConfig' : domain_ret , #NEWLINE# #UNINDENT# } #NEWLINE# args = copy . copy ( domain_ret ) #NEWLINE# args . update ( conn_parameters ) #NEWLINE# result = boto_elasticsearch_domain . update ( ** args ) #NEWLINE# self . assertTrue ( result [ 'updated' ] )