#NEWLINE# def test_that_when_creating_a_domain_succeeds_the_create_domain_method_returns_true( self ) : #NEWLINE# #INDENT# '\n        tests True domain created.\n        ' #NEWLINE# self . conn . create_elasticsearch_domain . return_value = { #NEWLINE# #INDENT# 'DomainStatus' : domain_ret , #NEWLINE# #UNINDENT# } #NEWLINE# args = copy . copy ( domain_ret ) #NEWLINE# args . update ( conn_parameters ) #NEWLINE# result = boto_elasticsearch_domain . create ( ** args ) #NEWLINE# self . assertTrue ( self [ 'created' ] )